openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject Re: merge only works with managed entity
Date Fri, 07 Dec 2007 17:22:19 GMT
jackson12,
Could you be more specific with your example?  We have various testcases
that do this exact process of merging in non-managed entities (without first
retrieving the entity from the DB).   Could you further explain your test
scenario and what results you are getting?

Thanks,
Kevin

On Dec 7, 2007 11:12 AM, jackson12 <kemin_chen@yahoo.com> wrote:

>
> Hi, We are trying to migrate our JBoss EJB3 application to IBM websphere
> with
> OpenJPA. We noticed in OpenJPA, the merge method does not work with
> non-managed entity. You have to retrieve the entity from DB, make some
> changes and then call merge. But with JBoss's implementation, you don't
> have
> to retrieve the entity from DB first. the merge method works fine for
> non-managed entity.
>
> Is there anyway for OpenJPA to work the same way as JBoss's JPA
> implementation on this part? or is there a way in OpenJPA to make a
> non-managed entity managed?
>
> thanks in advance
> --
> View this message in context:
> http://www.nabble.com/merge-only-works-with-managed-entity-tf4963245.html#a14216438
> Sent from the OpenJPA Developers mailing list archive at Nabble.com.
>
>

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