Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> oracle JDBC - how to detect uncommitted work on an open Connection ?
Hi
is there a way, using Oracle's JDBC drivers to find out if a given java.sql.Connection has uncommitted work pending on it ???
the reason is, close() will commit work if there is any - while if the close happens as a cleanup action after an error, it would be desirable to rollback (but I don't want to rollback always before close).
TIA.
Edoardo Comar
www.choreology.com
Received on Thu Oct 30 2003 - 16:30:09 CST
![]() |
![]() |