Forums Register Login

Container Managed Entity beans are giving duplicate primary key on heavy load.

+Pie Number of slices to send: Send
Hi All,

In our application we are using container managed entity beans for generating primary keys. We are using ejbLoad() for selecting and ejbStore() for incrementing the primary key.
This works fine on normal load conditions, but on heavy loads entity beans are generating duplicate keys.
We have clustered production enviornment.

Below is the Key Generation code:

eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 826 times.
Similar Threads
MS Access, Jboss, BMP
MS Access, Jboss, BMP
Exception
Why OrderEJB has getAccount() method?
an easy test question relating to Bean Management Persistent
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:20:48.