DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE 
environment.
------------------------------------------------------------------------------------------

                 Key: OPENJPA-375
                 URL: https://issues.apache.org/jira/browse/OPENJPA-375
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 1.0.0, 1.0.1, 1.1.0
            Reporter: Catalina Wei
             Fix For: 1.0.1, 1.1.0


Invalid operation: Result set is closed is reported from DB2, running in Web 
Container, non-jta-data-source, transaction local, JEE environment.
A workaround is to set the following property in persistence.xml for DB2:
<property name="openjpa.jdbc.DBDictionary"
            value="db2(supportsMultipleNontransactionalResultSets=false)"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to