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

Przemek Koprowski updated OPENJPA-677:
--------------------------------------

    Attachment: TestJPAIdentityWhenSingleTable.zip

In order to run tests:
1. Add OpenJPA libraries to the build path.
2. Change the path in the build.properties file.
3. Run the enchanceWorkspaceAndDeleteDB task from build.xml.

> Single Table Inheritance Strategy causes entity identity issues
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-677
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-677
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0
>         Environment: IBM Java 1.5
>            Reporter: Przemek Koprowski
>         Attachments: TestJPAIdentityWhenSingleTable.zip
>
>
> Entity objects that are pulled out from the database using bean methods 
> (get*()) are not the same objects that are pulled out using using other 
> methods(find(), getReference()). 
> This occurs only when using Single Table Inheritance.
> This works on 0.9.7, in other versions Exception is thrown 
> (https://issues.apache.org/jira/browse/OPENJPA-494) , in latest version from 
> trunk test fails.

-- 
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