[jboss-user] [JBoss Seam] - Re: EntityHome silently discards updates after errors
gavin.king@jboss.com
do-not-reply at jboss.com
Tue Oct 31 23:37:49 EST 2006
1) yes, probably EM should have thrown an exception - ask about this in the Hibernate or EJB3 forums
(2) The best way to handle this is to check to see if an instance with the same name exists in the database *first*, rather than trying to do something that you know is possibly going to violate a constraint.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982277#3982277
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982277
More information about the jboss-user
mailing list