This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 1648
    
    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]
 
 
subject: hibernate-reverse-engineering, one table two entites
 
Similar Threads
reverse engineering a one to one relationship
Tired of hibernate eclipse plugins.... any better way ?
Need help with Reverse Engineering to create JAVA objects
Reverse enginerring not creating object into POJO
Hibernate Tools: Reverse engineering behavior . . .