[jboss-user] [JBoss Seam] - Re: Changes not persisted using EntityHome
waynebagguley
do-not-reply at jboss.com
Mon Apr 9 04:12:08 EDT 2007
That seems a massive overkill.
Why aren't you using the persistence context?
Then you can just do exactly as the tutorial says:
| public void delete()
| {
| messageList.remove(message);
| em.remove(message);
| message=null;
| }
|
em.remove(message) will remove the 'message' record from the database.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035649#4035649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035649
More information about the jboss-user
mailing list