I am initiating a JTA transaction within a servlet....
0 posts in topic
Flat View  Flat View

Posted By:   gilles_weber
Posted On:   Monday, September 11, 2000 07:07 AM

I am initiating a JTA transaction within a servlet. Subsequently, this servlet calls the method of a stateful session EJB. In this method some SQL statements are executed and an entity bean is looked up and updated. After the return of that method, the servlet commits the JTA transaction. The stateful session EJB as well as the entity EJB are declared as with TRANSACTION REQUIRED and are placed in two different EJB servers. However, after commit, only the changes due to the SQL statements are done in the database. It looks like the entity bean EJB server does not consider the JTA transaction. Any idea?

About | Sitemap | Contact