cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Oracle Sequences & Cache
Date Sun, 19 Jun 2011 08:54:45 GMT

On Jun 16, 2011, at 7:49 PM, Chris Poulsen wrote:

>        <db-key-generator>
>            <db-generator-type>ORACLE</db-generator-type>
>            <db-generator-name>PK_CONTACT_PERSON_KEY_SEQ</db-generator-name>
>            <db-key-cache-size>1</db-key-cache-size>
>        </db-key-generator>

Yep, that's the trick to map a sequence with increment of 1. On the Modeler side it is configured
here:

http://people.apache.org/~aadamchik/sequence.png

Andrus


Mime
View raw message