cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Lindesay <...@lindesay.co.nz>
Subject Re: double primary key exception
Date Mon, 22 Dec 2014 23:16:47 GMT
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.

-- 
Andrew Lindesay

Mime
View raw message