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

Ravi P Palacherla updated OPENJPA-453:
--------------------------------------

    Attachment: OPENJPA-453_trunk_testcase.patch

Attached patch file on trunk has a test case that replicates deadlock issue on 
trunk.

The issue is introduced as part of OPENJPA-825 ( r727297).
A separate lock was included for statemanagerImpl as part of the above JIRA and 
that is causing the deadlock.

> Evicting embedded object nullifies statemanager
> -----------------------------------------------
>
>                 Key: OPENJPA-453
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-453
>             Project: OpenJPA
>          Issue Type: Bug
>         Environment: Kodo 4.1.4, Ms sql server 2005, jTDS 1.2, jdk 1.6
>            Reporter: Christiaan
>            Assignee: Ravi P Palacherla
>         Attachments: OPENJPA-453_trunk_testcase.patch, 
> OpenJPABug453Embedded.zip, openJPATestCase.zip, TestCaseEvictEmbedded.zip
>
>
> I am noticing the following behaviour: If evict() is called on an embedded
> object the statemanager is nullified which is in contrast to non-embedded
> objects. Subsequently, calling JDOHelper.getPersistenceManager() on the
> evicted embedded object returns null. Is this the correct behaviour?

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

Reply via email to