There's something else at play then. As I mentioned in the earlier message, 
your code example does not affect PK generation at all.

Andrus

On Jun 22, 2011, at 12:27 AM, Bruno René Santos wrote:

> That did not solve the problem... Maybe the use of shared cache is a
> problem? I turn off the cache alltogether and the problem did not happen
> anymore.
> 
> Regards
> Bruno
> 
> On Sun, Jun 19, 2011 at 9:54 AM, Andrus Adamchik 
> <and...@objectstyle.org>wrote:
> 
>> 
>> 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
>> 
>> 
>> 
> 
> 
> -- 
> Bruno René Santos | brunor...@holos.pt | Gestor de Projectos | Analista |
> Programador | Investigador
> 
> Holos - Soluções Avançadas em Tecnologias de Informação S.A.
> Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
> Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
> Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt
> 
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you are not the intended recipient or the person responsible for
> delivering the email to the intended recipient, be advised that you have
> received this email in error and that any use, dissemination, forwarding,
> printing, or copying of this email is strictly prohibited. If you have
> received this email in error please notify Bruno René Santos by telephone on
> +351 210 438 686

Reply via email to