openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Cetina <maxtorz...@gmail.com>
Subject Re: Insert new record + update child object
Date Wed, 15 May 2013 15:16:38 GMT
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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message