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. -mike On Wed, Apr 6, 2011 at 2:46 PM, realdepp <[email protected]> wrote: > Yes, MyBase is in persistence.xml. > > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/Issues-with-GeneratedValue-and-SequenceGenerator-tp6244055p6247366.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
