File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 java 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
Mapping two tables to one persistent class in hibernate
Hibernate One to One Unidirectional
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015