Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about Inherited Tables and Relationships  RSS feed

 
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 ]
 
Your buns are mine! But you can have this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!