Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-375

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.0.1, 1.1.0
    • 1.0.1, 1.1.0
    • jdbc
    • None

    Description

      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)"/>

      Attachments

        Issue Links

          Activity

            People

              fancy Catalina Wei
              fancy Catalina Wei
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: