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
|