MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
DevAlternatives
Post subject: Delete restriction CascadeType.REMOVE  PostPosted: Jun 11, 2012 - 11:50 PM
Registered Member
Registered Member


Joined: Mar 08, 2012
Posts: 34

Hi
,
On the domain object , we want to remove the resctrition of cascade = { CascadeType.REMOVE } for the @OneToMany annotation, for each domain object during code generation, is this posible ?

I'm are working with ME4S 10.0 on the DataType.jet template

Thanks,
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Jun 12, 2012 - 10:42 PM



Joined: Apr 04, 2011
Posts: 196

Unfortunately, it cannot be done during scaffolding with the templates today because the code is generated from within the relationshipType tag.

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits