Re: Transaction question

2004-03-31 Thread Armin Waibel
Hi, Leandro Augusto de Almeida wrote: Hi Armin, I put the broker.beginTransaction() and broker.commitTransaction() only for test, because I was getting the same exception on broker.close() and now on broker.commit() (because commit closes the con...). Using the old datasource (not XA) this works

Re: Re: Transaction question

2004-03-31 Thread Leandro Augusto de Almeida
Hi Armin, I put the broker.beginTransaction() and broker.commitTransaction() only for test, because I was getting the same exception on broker.close() and now on broker.commit() (because commit closes the con...). Using the old datasource (not XA) this works fine. The bean that calls this method

Re: Transaction question

2004-03-31 Thread Armin Waibel
Hi Leandro, could you post a snip of the source code? regards, Armin Leandro Augusto de Almeida wrote: Hi Armin, I was using a DataSource (in Websphere) from the Jdbc Provider oracle.jdbc.pool.OracleConnectionPoolDataSource and using the PB-tx-demarcation (broker.beginTransaction().). When

Re: Re: Transaction question

2004-03-31 Thread Leandro Augusto de Almeida
Hi Armin, I was using a DataSource (in Websphere) from the Jdbc Provider oracle.jdbc.pool.OracleConnectionPoolDataSource and using the PB-tx-demarcation (broker.beginTransaction().). When I changed the datasource to oracle.jdbc.xa.client.OracleXADataSource the application shows this excepti

Re: Transaction question

2004-03-30 Thread Armin Waibel
Hi Leandro, Leandro Augusto de Almeida wrote: Is it possible to use PB-tx-demarcation on a session bean with bm-tx and getting a connection from a DataSource from my AppServer? Is it right? What is the correct connection factory to use? Or I must use the user (JTA) tx-demarcation with the Conne

Re: Transaction Question

2004-03-19 Thread Armin Waibel
Hi, Ziv Yankowitz wrote: Folks, We are using ODMG local transaction is there any way to set timeout on the transaction? Sorry no. ODMG-api does not support timeout of tx. But you can config the object lock time (LockTimeout) in OJB.properties. regards, Armin thanks. --

RE: Transaction Question.

2004-02-09 Thread Coup, Robert Muir
Hi, There can only be one ODMG transaction open per thread. Thanks, Rob :) > -Original Message- > From: Ziv Yankowitz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 10 February 2004 5:39 a.m. > To: OJB (E-mail) > Subject: Transaction Question. > > > Folks, > > Is Nested Transaction supp