Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
The connection type returned to me is org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection I checked through the code for this and it appears to throw an exception if the connection is in a transaction. (didn't actually verify the code, just merely read it). If I do not specify a resource ma

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread danch (Dan Christopherson)
Hoong-Shen Wong wrote: > I do a lookup for it using java:/defaultSourceName. I tried the call and it > works so far as I can execute the SQL (i.e. > if the table doesn't exist, it throws an exception), but it doesn't get > written to the database. And when I checked for > a transaction. It appear

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
I do a lookup for it using java:/defaultSourceName. I tried the call and it works so far as I can execute the SQL (i.e. if the table doesn't exist, it throws an exception), but it doesn't get written to the database. And when I checked for a transaction. It appears that JBoss thinks I'm not in a t

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread danch (Dan Christopherson)
How does your bean get its database connection? Your descriptor doesn't have a resource reference in it. Hoong-Shen Wong wrote: > Hi, > > I am trying out to make a Stateless Session Bean with Container managed > Transactions auto-commit > at the end of a transaction, but it does not appear to

[JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
Hi, I am trying out to make a Stateless Session Bean with Container managed Transactions auto-commit at the end of a transaction, but it does not appear to do so. The following is the deployment descriptor we are using for the Bean. It writes to the database, but does not appear to commit the SQL