openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans J. Prueller" <hans.pruel...@gmx.net>
Subject Using @GeneratedValue for IDs on already existing tables
Date Sat, 10 Feb 2007 17:23:51 GMT
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


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