[ https://issues.apache.org/jira/browse/OPENJPA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Linskey resolved OPENJPA-102. ------------------------------------- Resolution: Fixed Resolved with svn 497185. > JTA transaction rollback, nonexistant instances, transactional persistence > context => failures during afterCompletion() and close() > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: OPENJPA-102 > URL: https://issues.apache.org/jira/browse/OPENJPA-102 > Project: OpenJPA > Issue Type: Bug > Components: jpa, kernel > Environment: WebLogic Server 10.0 > Reporter: Patrick Linskey > Attachments: openjpa-detach.patch > > > Configuration: > - transactional persistence context > - DetachState=fgs > - JTA transactions > If an error causes the transaction manager to roll back the current > transaction, BrokerImpl.afterCompletion() will be invoked with > Status.STATUS_ROLLEDBACK. afterCompletion() will call BrokerImpl.free(), > which will attempt to load the default fetch group. If there is an instance > in the Broker's context that does not exist (that was looked up via > EntityManager.getReference(), for example), then the code in free() will fail > with an ObjectNotFoundException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira