This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes hibernate-reverse-engineering, one table two entites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate-reverse-engineering, one table two entites" Watch "hibernate-reverse-engineering, one table two entites" New topic
Author

hibernate-reverse-engineering, one table two entites

Santosh Ramachandrula
Ranch Hand

Joined: Apr 04, 2004
Posts: 252
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?


Thanks,
Santosh
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1681
    
    7

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


[How To Ask Questions][Read before you PM me]
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: hibernate-reverse-engineering, one table two entites