Container Managed Entity beans are giving duplicate primary key on heavy load.
posted 6 years ago
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.