[jboss-user] [EJB 3.0] - Entity Lifecycle Method
mjrother
do-not-reply at jboss.com
Tue Jul 25 11:10:27 EDT 2006
I am attempting to intercept the removal of entity beans. In certain cases, I would like not delete the entity from the database. I have a column that marks if an object is deleted. SO I would intercept the @PreRemove and sent the entity is deleted property. How can I make the system update the entity instead of removing it?
This is especially problematic when the entity is held in a collection by another entity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960719#3960719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960719
More information about the jboss-user
mailing list