I'm not sure about that - the final modifier seems to be the cause for the problem.
The JPA spec sais: "Entity classes may not be final. No method of an entity class can be final." BUT the OpenJPA docs say: "OpenJPA supports final classes and final methods." http://openjpa.apache.org/builds/2.1.0/apache-openjpa-2.1.0/docs/manual/jpa_overview_pc.html#jpa_overview_pc_final So this is either an implementation bug or a documentation bug. -- View this message in context: http://openjpa.208410.n2.nabble.com/Issues-with-GeneratedValue-and-SequenceGenerator-tp6244055p6262607.html Sent from the OpenJPA Users mailing list archive at Nabble.com.