事务提交后不能重新使用吗?

EJB中
UserTransaction utx=this.this.sessionContext.getUserTransaction();
utx.begin()
......
utx.commit()

utx.begin()
jdbc Access
utx.commit()

到 jdbc 操作时会报错
java.sql.SQLException: The transaction is no longer active - status: 'Committed'
. No further JDBC access is allowed within this transaction.


难道事物对象提交后就不能重新使用?

建议使用容器事务CMT,程序控制事务很琐碎。