This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about Inherited Tables and Relationships

 
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