MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bephinney
Post subject: Hibernate auto-gen and relationship mapping  PostPosted: Apr 20, 2005 - 05:43 PM
Registered Member
Registered Member


Joined: Apr 07, 2005
Posts: 3

ME does not automatically create relationships in Hibernate mapping XML files so this needs to be added manually.

If I make table changes and need to regenerate the Hibernate files, is there a way to keep the relationship elements during the regen process or will I have to do this manually also?

Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
bephinney
Post subject:   PostPosted: Apr 20, 2005 - 09:43 PM
Registered Member
Registered Member


Joined: Apr 07, 2005
Posts: 3

The answer can be found in this thread:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-6131-highlight-hibernate+relationship.html

Any relationship mappings should be saved off before regenerating the hibernate files.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits