openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <>
Subject Re: Issues with GeneratedValue and SequenceGenerator
Date Wed, 06 Apr 2011 19:49:22 GMT
Well, I was able to reproduce if I do the following

1. Create the database tables.
2. Run the PCEnhancer with BaseEntity and MyEntity in the persistence.xml
3. Remove BaseEntity from persistence.xml
4. Persist a new instance of MyEntity.

I've only reproduced with IDENTITY, but it should be similar with SEQUENCE.

Otherwise I've had no luck. Based on your results it sounds like the
database was not created properly, but that's just a guess.


On Wed, Apr 6, 2011 at 2:46 PM, realdepp <> wrote:

> Yes, MyBase is in persistence.xml.
> --
> View this message in context:
> Sent from the OpenJPA Users mailing list archive at

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