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

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 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

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

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

Transaction Question

2004-03-18 Thread Ziv Yankowitz
Folks, We are using ODMG local transaction is there any way to set timeout on the transaction? thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Transaction Question.

2004-02-09 Thread Ziv Yankowitz
Folks, Is Nested Transaction supported within ODMG? assuming we have the following : within the same Thread. Transaction1 start Transaction2 start Transaction2 finish Transaction1 finish. Thanks.

broker usage in odmg transaction question

2003-11-14 Thread Jair da Silva Ferreira Júnior
Hi, I am using ojb1.0_rc4, ODMG api with OJB queries and mysql4. When running OJB queries using the broker, is it necessary to begin, commit or abort the broker transaction? Which one should I use? Example 1 or 2? 1) ... PersistenceBroker broker = ((HasBroker)

Re: broker usage in odmg transaction question

2003-11-14 Thread Armin Waibel
Hi Jair Jr., Jair da Silva Ferreira Júnior wrote: Hi, I am using ojb1.0_rc4, ODMG api with OJB queries and mysql4. When running OJB queries using the broker, is it necessary to begin, commit or abort the broker transaction? Which one should I use? Example 1 or 2? hmm, if you start