[jboss-user] [JCA/JBoss] - Re: Managed Connection Pool Issue
wmprice
do-not-reply at jboss.com
Wed Oct 18 00:05:44 EDT 2006
Ummm...no.
anonymous wrote :
| If you open a connection with AutoCommit false and if you dont commit the JBoss connection will still remain in the pool.
|
You can never 'open' a connection in JBoss with the auto commit flag set to anything. For a NoTx Datasource the auto commit flag will be set to true as per the JCA/JDBC specification prior to being handed to the client. For a LocalTx Datasource the flag is set to false prior to being handed to the client. You should not modify this flag. This is what JBoss is for, ie managing txn semantics for you.
The 'if you dont commit the JBoss connection will still remain in the pool' statment makes no sense and doesn't even come close to anything realistic.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978950#3978950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978950
More information about the jboss-user
mailing list