-----Ursprüngliche Nachricht----- Von: Hans J. Prueller [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 10. Februar 2007 18:24 An: open-jpa-dev@incubator.apache.org Betreff: Using @GeneratedValue for IDs on already existing tables
As some of you may remember, I am using OpenJPA within an "old" Java2EE 1.4/EJB2.1 container to perform a step-by-step or bean-by-bean migration from our EJB2.1 CMP entity beans to new EJB3 Beans with JPA. For the IDs of the Entity Beans we have been using a Container-Generated-Value and I plan to continue doing so by using the JPA's @GeneratedValue stuff. Are there any special issues to consider when using the new openJPA based entities with generated values on already existing data? In special I mean conflicts of between openJPA generated IDs with existing IDs in the underlying table? Hans