openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <>
Subject Re: merge only works with managed entity
Date Fri, 07 Dec 2007 17:22:19 GMT
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?


On Dec 7, 2007 11:12 AM, jackson12 <> 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:
> Sent from the OpenJPA Developers mailing list archive at

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