openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: OpenJPA 1.2: EntityExistsException on em.persist() for Entity that is no longer present in DB
Date Thu, 22 Sep 2011 16:46:26 GMT
Hi Heiko,
  Instead of creating/deleting LockEntity, have a boolean state field
  Set/unset it as the application logic demands
  always flush on mutation
  always refresh on access.

  But why a separate entity, why not using database locks itself?

Pinaki Poddar
Chair, Apache OpenJPA Project
View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message