In short I don't want the EJB to commit to the database when there is timeout ..
posted 10 years ago
In the Oracle OC4J Container, when a timeout occurs then the JTA container-managed transaction will get rolled back automatically. As long as you get a connection from a JTA-enabled datasource then you would not need to commit or roll it back explicitly. That will happen for you as a result of the container-managed transaction.