This content has been marked as final.
Show 1 reply
-
1. Re: Maintaining TX across EJBs and POJOs using JDBC, notifyi
drabbit May 30, 2006 7:56 AM (in response to jrinderle)I don't fully understand what you are doing, but concerning the necessity to have it all in one transaction:
if your datasources are configured in *-ds.xml files and obtained via jndi lookup, then this will all happen in one server transaction. If you are using different datasources, all but one need to be xa-enabled. If you get your datasource via jndi lookup and specify the same datasource as your EJB persistance datasource, then you will get the same database connection so you won't have to worry about xa.
dirk