Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about Inherited Tables and Relationships  RSS feed

 
R. Heydenreich
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have the following entities:

The parent class:


a child class:


and another bean:


Now the question: If I deploy the application (with JBoss), then three tables will be generated: StandingDataBaseBean, Person and Title. But this is not what I want. I want that the title_id points to the ID field in StandingDataBaseBean, and not to a separate TITLE table. How can i express this in annotations?

TIA,
Ralf.
[ November 07, 2008: Message edited by: Ralf Heydenreich ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!