Castor is using the Synchronization interface for JTA integration which is only available through the Transaction interface ( available through TransactionManager ). If u want to use only UserTransaction, u would need to modify the JDO and DatabaseImpl class to associate the begin, commit, rollback and close method with UserTransaction call. We are doing this for Servlet transaction support.
Regards, Low -----Original Message----- From: Bruno Ranschaert [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 06, 2002 1:22 To: [EMAIL PROTECTED] Subject: [castor-dev] J2EE UserTransaction i.s.o. TransactionManager Hi, I am working with SilverStream app. server. 3.7.4. It does not provide distributed transactions, no TransactionManager. I still would like to use Castor JDO in this environment. I would like to modify the JDO class, so that it accepts a UserTransaction object (or jndi name) i.s.o. the transactionmanager. I noticed that the first thing de JDO does when creating a database is getting the transaction from the manager and giving it to the database constructor. So my point is, why not give the UserTransaction directly to the JDO i.s.o. the TransactionManager? I suppose the Castor guys now a lot more about transactions than I do, so I would like to know any comments. Rgds, B.R. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
