openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpf <>
Subject implicit sequence
Date Mon, 27 Sep 2010 08:47:09 GMT

Hi there!
Is it possible to map an implicit sequence with jpa?

for example:
	@SequenceGenerator(name = "SEQ_GEN_T_STAAT", sequenceName = "SEQ_T_STAAT")
	@GeneratedValue(generator = "SEQ_GEN_T_STAAT", strategy =
	private Integer id;

this is a definition for an explicit sequence and it works but for know I
must switch to implicit sequences - is there any possibility so map an
implicit sequence?

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

View raw message