cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes <jotpe....@gmail.com>
Subject Re: double primary key exception
Date Mon, 22 Dec 2014 23:59:30 GMT
I think that helps! Thank you! Chears

Am 23.12.2014 um 00:16 schrieb Andrew Lindesay:
> Hello Johannes;
> 
> Try to add in the following after the "db-key-generator" attribute.
> 
>   <db-key-cache-size>1</db-key-cache-size>
> 
> See JdbcPkGenerator#generatePk for the problem - it's "cache value"
> differs from that of the sequence that you are using.
> 
> cheers.
> 
> On 23/12/14 11:54 am, Johannes wrote:
>> I did not understand your question completely. But here are DbEntity and
>> ObjEntity from my datamap.map.xml file.
> 


Mime
View raw message