[jboss-user] [JBoss Seam] - Re: Creating and Updating records in single operation: sensi

markwhiting do-not-reply at jboss.com
Fri Jul 27 12:27:06 EDT 2007


Good spot.

I managed to lose that line of code when copy/pasting . The penultimate line in createNewEntity() should read:

entityManager.persist(myEntity);

With this in place, does this approach look sensible - or is there a 'tidier' way?

Thanks

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

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



More information about the jboss-user mailing list