-->
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.  [ 1 post ] 
Author Message
 Post subject: Entity delete sign
PostPosted: Mon May 16, 2005 7:32 pm 
Newbie

Joined: Wed May 04, 2005 5:38 pm
Posts: 15
Hibernate version: 3.0.3

Hello,

Please help me! How can I sign my entities that was deleted (isTransient()=true, maybe id=null) by Hibernate. I can't do this manullay because the Hibernate deletes some entities over cascading.

I try to use the Interceptors but I don't know is it good to set the id property to null in the onDelete method. I thought I set the entity id to null in the postFlush() method but the entity isn't in the Iterator entities list :(

Thx


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

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.