-->
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: Middlegen: how to indicate default-cascade
PostPosted: Thu Jul 22, 2004 4:02 am 
Newbie

Joined: Tue May 25, 2004 8:50 am
Posts: 8
Hi,

I am using Middlegen to generate my .hbm.xml files automatically. Does anyone know how I can make Middlegen generate a default-cascade attribute for the hibernate-mapping element:

Code:
<hibernate-mapping default-cascade="save-update">


Thanks in advance for any help!

Arjan Huijzer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 22, 2004 6:41 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
It currently does create the mapping like this but you can set the cascade save-update by the ant script and it will be defined on the relationships themselves. I will look at adding this to the next version.


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.