openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <>
Subject Re: Intermittent EntityNotFoundException for loading of ID field
Date Wed, 30 Oct 2013 14:29:58 GMT
Can you post the trace file somewhere so I can take a look?

On Tue, Oct 29, 2013 at 4:48 PM, Givanildo Dantas Alves <>wrote:

> A ConcreteRecord is a joint of AliasRecords. It has some OneToMany
> relationships, to enable association with AliasRecords and with some data
> that come from AliasRecords.
> A new AliasRecord is associated to an existing ConcreteRecord or a to brand
> new one, according to a set of criteria
> AliasRecords IDs are automatically generated (GeneratedValue annotation).
> On
> the other hand, ConcreteRecord ID is same as the ID of one its associated
> AliasRecords.
> All the work is done inside a transaction. By the way, with the addition of
> a call to EntityManager flush() method, the problem still happens.
> ConcretedRecord and AliasRecords don't have @Version fields. I have
> MappedSuperclass with that annotation, but the corresponding entities don't
> seem related to the current issue.
> I am not sure what that merge() call is for. Good question. That does not
> seem required. I can remove that call and run some tests, even though
> successful executions would not necessarily tell me that the problem was
> resolved.
> Thanks
> --
> View this message in context:
> Sent from the OpenJPA Developers mailing list archive at

*Rick Curtis*

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