You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by José Luis Cetina <ma...@gmail.com> on 2013/05/15 17:16:38 UTC
Re: Insert new record + update child object
Yes it works. Thanks.
El 25/04/2013 13:49, "Pinaki Poddar" <pp...@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.
>