Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mapping problem

 
Sebastiaan Kortleven
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!