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

hibernate-reverse-engineering, one table two entites

 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Hibernate Reverse Engineering tool allow generating two entities for the same table? If yes, how do I achieve this? Or do I have to handle this in DelegatingReverseEngineeringStrategy?
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never used these tools I usually just crank it out But looks like you can override for a particular table. See the below link.

http://docs.jboss.org/tools/3.2.1.GA/en/hibernatetools/html_single/index.html#hibernaterevengxmlfile

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic