jpa - EJB3/DB2 Transactions not rolling back -
I have a situation where I have a tree of Entities
, and a Sessions Bean
. Sessions Bean
is present in the institutions or dissolves, and the question is marked as the method
Now in such a case that the institution of a child fails to be continuous / merged due to a foreign key violation (for example), or the non-fictitious field is missing, the transaction is returned Rolled in to the log and marked a EJBException
I was hoping to return the full transaction but in spite of the failure of the child institution, EJB session Databases after bean call I'm looking to see that the basic unit of power.
Anyone else seen this behavior? Additional information:
Server: Glassfish Persistence Manager: Toplink Connection Pool: DB2 Universal Driver XA Compliant Driver.
thanks
It seems that there was a connection pool in the glassfish Setting with the flag "non-transactional connection" enabled it was causing failure to roll back.
Comments
Post a Comment