[JBoss-dev] setAutoCommit

Adrian Brock abrock at redhat.com
Wed Jul 23 11:38:19 EDT 2008


Use the forums to ask for help.

On Tue, 2008-07-22 at 10:25 -0700, fushia wrote:
> Using JBoss 3.xx, when I set connection.setAutoCommit (false), I got
> SQLException: You cannot set autocommit during a managed transaction!
> 
> Does Jboss only take autocommit true when the connection is created?
> 
> Thanks,
> 
> 
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list