A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
One java class & Two tables Hibernate
Joined: Dec 28, 2005
Jun 09, 2006 04:12:00
Is it possible in Hibernate to Map one Java to Two different tables in Database?
Joined: Aug 24, 2005
Jun 09, 2006 11:32:00
Hibernate reference manual
describes how to map a single
class to two different tables by using the entity name property to differentiate between the two entities.
I agree. Here's the link:
subject: One java class & Two tables Hibernate
tools of the hibernator
Hibernate One to One Unidirectional
Mapping two tables to one persistent class in hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013