-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Customize hbm.xml code generation
PostPosted: Tue May 13, 2008 12:02 pm 
Newbie

Joined: Tue May 13, 2008 11:49 am
Posts: 1
Hello,

I am using hibernate tools eclipse plug-in to generate my hbm's and pojo's. I need to customize the generation to behave differently on the hbm.xml. For example, i want to have a 'select-before-update="true"' on all the classes, have a ' cascade="all" ' within the <Set> definition etc.
Although I know that a custom reveng 'strategy' could be defined, i was just unable to implement a solution for this.
Could someone please post a solution for this? For example, how should I set that on default all <Set> xml definitions will be created with a 'cascade=all' property?


Many thanks,
Oran Topaz


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 12:49 pm 
Newbie

Joined: Tue May 13, 2008 12:34 pm
Posts: 8
Location: Santiago de Chile
See http://forum.hibernate.org/viewtopic.php?p=2385113


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.