openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <>
Subject [jira] Commented: (OPENJPA-677) Single Table Inheritance Strategy causes entity identity issues
Date Fri, 08 Aug 2008 08:12:44 GMT


Pinaki Poddar commented on OPENJPA-677:

This is an intermediate (and inaccurate) fix for the problem.
This will only work when the most-derived class is target of a relation.
For example, declared type of RegularUser.admin is Admin which is the most-derived class in
this case and hence only the fix works. Otherwise, most likely it will show the same error.

Will attempt to put a more comprehensive fix 

> Single Table Inheritance Strategy causes entity identity issues
> ---------------------------------------------------------------
>                 Key: OPENJPA-677
>                 URL:
>             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
>            Assignee: Pinaki Poddar
>         Attachments:
> 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 (
, 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.

View raw message