Last updated on JUNE 30, 2017
Applies to:Oracle JDeveloper - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
You are developing an ADF BC application in JDeveloper 220.127.116.11.0
You're deploying to WebLogic 10.3.1 and use an Oracle 10g database 10.2.0.4.
You are not using XA Datasources.
You implemented a solution to retain the selected records over commits and rollbacks, as explained by Steve Muench in example 68.
Sometimes a java.sql.SQLException with the message "Result set already closed" occurs in the afterRollback() method that you implemented in your custom ViewObjectImpl class.
The exception occurs in the call to executeQuery().
The stack trace is the following:
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getBytes(Unknown Source)
You can surround the code by a try-catch block to prevent the error to be shown to the end user.
However, the user still notices that his selection is lost over the rollback.
NB: The problem was also discussed in the OTN forum: Result set already closed
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms