openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: "detected possible orphaned..."
Date Tue, 17 Feb 2009 22:44:14 GMT

Hi,
  Are you enhancing persistent classes at build-time? If not, please do and
report back if the problem persists.

Pinaki


Udi wrote:
> 
> Hey,
> I faced the warning: detected possible orphaned to deleted object
> "test.House-123" in "test.House.owner".
> I read that this might be a bug in openJPA, and in JIRA I read that if the
> problem happens in Many-to-one relation, the @Nonpolymorphic can resolve
> the issue.
> The thing is I must use polymorphic objects. These are my classes:
> 
> class House
> {
>      @ManyToOne
>      private Owner owner;
> }
> 
> abstract class Owner
> {
>   ....
> }
> 
> class BigOwner extends Owner
> {
> }
> 
> class SmallOwner extends Owner
> {
> }
> 
> Obviously, house's field owner must be of BigOwner or SmallOwner.
> Is there any solution for this case?
> 
> thanks,
> Udi
> 

-- 
View this message in context: http://n2.nabble.com/%22detected-possible-orphaned...%22-tp2339495p2343682.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message