openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-102) JTA transaction rollback, nonexistant instances, transactional persistence context => failures during afterCompletion() and close()
Date Wed, 17 Jan 2007 04:08:27 GMT
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


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

        

Mime
View raw message