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

after invoking LRS processing in a client by calling an @LRS annotated relationship, the next em.clear()/em.close() gets org.apache.openjpa.persistence.InvalidStateException: You cannot transfer large result set fields from one object or field to another

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.7
    • 0.9.7
    • kernel
    • None
    • 0.9.7-incubating-SNAPSHOT

    Description

      after invoking LRS processing in a client by calling an @LRS annotated relationship, the next em.clear()/em.close() gets org.apache.openjpa.persistence.InvalidStateException: You cannot transfer large result set fields from one object or field to another

      <4|false|0.9.7-incubating-SNAPSHOT> org.apache.openjpa.persistence.InvalidStateException: You cannot transfer large result set fields from one object or field to another.
      at org.apache.openjpa.util.AbstractLRSProxyCollection.setOwner(AbstractLRSProxyCollection.java:77)
      at org.apache.openjpa.kernel.DetachManager$DetachFieldManager.reproxy(DetachManager.java:523)
      at org.apache.openjpa.kernel.DetachManager.detachInternal(DetachManager.java:431)
      at org.apache.openjpa.kernel.DetachManager.detachAll(DetachManager.java:299)
      at org.apache.openjpa.kernel.BrokerImpl.detachAllInternal(BrokerImpl.java:3150)
      at org.apache.openjpa.kernel.BrokerImpl.detachAll(BrokerImpl.java:3123)
      at org.apache.openjpa.kernel.DelegatingBroker.detachAll(DelegatingBroker.java:1136)
      at org.apache.openjpa.persistence.EntityManagerImpl.clear(EntityManagerImpl.java:868)
      at com.ibm.websphere.ejb3sample.winetour.bug.BugWineryTest.testLargeResultSetAnnotation(BugWineryTest.java:902)
      at com.ibm.websphere.ejb3sample.winetour.bug.BugWineryTest.main(BugWineryTest.java:146)

      Attachments

        1. lrsBugWineryTest.zip
          29 kB
          George Hongell

        Activity

          People

            Unassigned Unassigned
            ghongell George Hongell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: