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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...