Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about Inherited Tables and Relationships  RSS feed

R. Heydenreich
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?

[ November 07, 2008: Message edited by: Ralf Heydenreich ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!