Hi!
I have a problem with jboss-4.0.3 SP1 and Oracle 9.2.
In my session bean, on the costructor method, I make a DB connection.
This connection will be used from a method.  When I call commit() on my method, 
 I take this exception:

 You cannot rollback with autocommit set!

I have print con.getAutoCommit() and it is false!!!
How can I set autocommit to false?
I don't have any idea...

Thanx in advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910685#3910685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910685


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to