You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "George Hongell (JIRA)" <ji...@apache.org> on 2007/04/05 02:58:32 UTC

[jira] Updated: (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

     [ https://issues.apache.org/jira/browse/OPENJPA-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Hongell updated OPENJPA-202:
-----------------------------------

    Attachment: lrsBugWineryTest.zip

run main method to get error

> 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
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-202
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-202
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 0.9.7
>         Environment: 0.9.7-incubating-SNAPSHOT
>            Reporter: George Hongell
>         Attachments: lrsBugWineryTest.zip
>
>
> 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)

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