[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?

petemuir do-not-reply at jboss.com
Thu Dec 21 10:30:12 EST 2006


I really doubt you want em.persist(user), probably em.merge(user) - persist will add a transient entity to the database not update a persistent one.

Can you post your persistence.xml?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995626#3995626

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995626



More information about the jboss-user mailing list