Is there a way to force the container to execute method calls to ejbStore, etc. in a given order?
We have a situation where we are voiding a transaction by updating the status of the currently active transaction to void via ejbStore and are creating a new transaction via ejbCreate. We have a database trigger after insert or update that ensures that there is at most only one active transaction. We access the Bean managed entity beans through a stateless session bean that is performing the update and then the insert. However, the container is calling ejbCreate before it calls ejbStore and this is causing the trigger to fail and for the entire transaction to be rolled back.
Is there any way (via deployment, etc.) to have JBoss execute the methods in a prescribed order?