Hi, A person bean can have a set of phone beans. To delete a phone, code can be
person.getPhones().remove(phone); //no entityManager.remove(phone); But how about if we don't want to delete the record from table, we just want that person doesn't have that phone. How does jboss 4.2 deal with such case? possible to introduce extra field indication whether or not the record is active, if it's not, jboss consider it not existed, but keeps the record's primary key preserved? Thanks John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062611#4062611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062611 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
