|Oracle8i Enterprise JavaBeans and CORBA Developer's Guide
If you are using JDBC calls in your CORBA server object or EJB to update a database, and you have an active transaction context, you should not also use JDBC to perform transaction services, by calling methods on the JDBC connection. Do not code JDBC transaction management methods. For example:
Doing so will cause a SQL exception to be thrown.
You must also avoid doing direct SQL commits or rollbacks through JDBC. Code the bean to either handle transactions directly using the
javax.jts.UserTransactions interface (if the
TransactionAttribute value is TX_BEAN_MANAGED), or let the bean container manage the bean transactions.