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:
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: