openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From corstad <>
Subject Migrate EntityBean NamedSequenceTable to OpenJPA
Date Wed, 13 Oct 2010 17:41:47 GMT


 I am attempting to migrate Entity Beans to OpenJPA. Each Entity Bean
represents a single table in the DB. The Entity Beans are deployed on
WebLogic 10.0 using WLS 8 version of the deployment descriptors. (I just
work here).

 Each table has a corresponding sequence table with a single column named
Sequence. The current DD for these use the following XML within the
weblogic-cmp-jar.xml file for each weblogic-rdbms-bean defined.


The SQL used to create the sequence table is:

CREATE TABLE [dbo].[WebCartSequence](
	[Sequence] [int] NOT NULL

My question is what would the OpenJPA annotations look like to use this id
generation strategy?


View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message