Hi,
I'm using Hibernate for O/R-mapping. I want to create an entity who's
data comes from multiple tables. I already figured out that I have to
use @SecondaryTable to achieve that.
My question is: Is there a way to map an entity to different tables in
different databases? Or do the @Table and the @SecondaryTables have to
be in the same database?
TIA
simon
ivan.yatskevich@gmail.com - 30 May 2007 10:39 GMT
The only way I see to solve this problem is descripbed here:
http://java.sun.com/mailers/techtips/enterprise/2006/TechTips_July06.html#2