15,000 Jobs Available in:
Java, ASP, C#, PHP, SQL, SAP, MySQL and many more.
- Class Quick -
The moose likes Object Relational Mapping and the fly likes Mapping problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Mapping problem" Watch "Mapping problem" New topic
Author

Mapping problem

Sebastiaan Kortleven
Ranch Hand

Joined: Mar 12, 2004
Posts: 81
Hi there,

How can I spread an object over 2 tables?

Several objects in one table is discussed in the Hibernate documentation. But I couldn't find an example of one example in 2 tables..
(Some properties in one table, the rest in another table.. Linking those tables with some kind of key).

Is it possible?

thanks!
 
 
subject: Mapping problem
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com