Transactions for stateless SessionBeans

2001-09-27 Thread Tommy Wassgren
I'm using a data-source (Oracle) from a stateless session bean. The session bean uses bean managed transactions (User transactions). Reading and writing data to the Oracle database works fine. The only problem is that when the ejb-transaction gets rolled back the database transaction does

Transactions for stateless SessionBeans

2001-09-26 Thread Tommy Wassgren
I'm using a data-source (Oracle) from a stateless session bean. The session bean uses bean managed transactions (User transactions). Reading and writing data to the Oracle database works fine. The only problem is that when the ejb-transaction gets rolled back the database transaction does not

RE: Transactions for stateless SessionBeans

2001-09-26 Thread The elephantwalker
Of Tommy Wassgren Sent: Wednesday, September 26, 2001 8:35 AM To: Orion-Interest Subject: Transactions for stateless SessionBeans I'm using a data-source (Oracle) from a stateless session bean. The session bean uses bean managed transactions (User transactions). Reading and writing data to the Oracle

Re: Transactions for stateless SessionBeans

2001-09-26 Thread Chris Roffler
You are creating a new UserTransaction when you commit.You need to use one transaction(see my coments below) Tommy Wassgren [EMAIL PROTECTED] wrote: I'm using a data-source (Oracle) from a stateless session bean.The session bean uses bean managed transactions (User transactions).Reading and