Yes it works. Thanks.
El 25/04/2013 13:49, "Pinaki Poddar" <ppoddar@apache.org> escribió:
> public void saveExam(Exam exam){
> ejbContext.getUserTransaction().begin();
>
> //DOES THIS WORK?
> exam = em.merge(exam);
>
> ejbContext.getUserTransaction().commit();
> }
>
>
>
> -----
> Pinaki Poddar
> Chair, Apache OpenJPA Project
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Insert-new-record-update-child-object-tp7583389p7583780.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
|