-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: One class - two or more tables (but with outer join)
PostPosted: Wed Oct 10, 2012 1:00 pm 
Regular
Regular

Joined: Mon Jun 14, 2004 1:42 pm
Posts: 80
Location: Brazil
HI!
With Secondary Tables we can define multiple tables persisted to one class. But it requires that each table has the same primary key to work (correct me if I am wrong). And it will always issue an inner join to retrieve data, and will always create rows on the secondary tables when I save an instance, even if the all "secondary" properties are null.

Is there a workaround to this JPA limitation using Hibernate?
I'm trying to push the limits here to how near we are from the BERNSTEIN's "updatable view" limits on ORM.

Just need a pointer or two, I'm a bit outdated on recent Hibernate versions ;)

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.