0 Replies Latest reply on Feb 12, 2006 1:58 AM by sivakumar_n

    Primary key generation in Jboss Using Entity Commands

    sivakumar_n

      Hi All,
      I have a problem in Multi- Threaded Environment. I have multiple threads running at the same time to collect the data from different source and store it the table using ejb create method. When i use Primary key generation through entity commands , i am getting duplicate keys generated. How to synchronize the way the keys are generated?

      Thanks
      Siva