openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uri Boness" <>
Subject sequence per entity
Date Wed, 15 Aug 2007 20:15:53 GMT
I would like to have a parent class for all entities (e.g. BasicEntity)
which also holds the id field. When mapping the id with a sequence
generator, currently openjpa generates only one sequence in the database
(postgresql 8.2). Is there a way to configure openjpa (or maybe setup the
mappings in a special way) so that a a different sequence will be used for
different entities (while still keeping the id field in the BasicEntity
parent class)?


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