openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Logemann>
Subject Re: inverse OneToMany relation - getting weird
Date Sun, 15 Nov 2009 14:35:21 GMT
cant answer your question because i am not that deep into the whole  
JPA topic (from an internal dev standpoint) but i will try the  
InverseManger with my test classes to see what happens.
I will report back....

Marc Logemann

>> Would be interessting to know if this keeps being this way in  
>> Version 2.
>> But on the other hand, it wont kill you to set the backref, you  
>> just have to
>> know it in the first place. And now i finally created test classes  
>> for all
>> that mapping stuff so that i can fiddle around with various  
>> mappings in a
>> short timeframe w/o boostrapping my J2EE app.
> It isn't changed in the JPA 2.0 spec (which is nearly finalized). We  
> could
> change the default for OpenJPA though (basically turn on  
> InverseManager
> automatically). I'd have to think about that a bit (it makes me  
> nervous
> messing with the contents of a user's POJO without explicitly being  
> told to
> do so).
> What do other people think?
> -

View raw message