Re: double primary key exception

2014-12-22 Thread Johannes
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. > > 1 > > See JdbcPkGenerator#generatePk for the problem - it's "cache value" > differs from that of the sequence tha

Re: double primary key exception

2014-12-22 Thread Andrew Lindesay
Hello Johannes; Try to add in the following after the "db-key-generator" attribute. 1 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

Re: double primary key exception

2014-12-22 Thread Johannes
Hello Andrew. I did not understand your question completely. But here are DbEntity and ObjEntity from my datamap.map.xml file. ORACLE category_id_seq

Re: double primary key exception

2014-12-22 Thread Johannes
But this should be *not* the root cause. Or? Am 22.12.2014 um 23:54 schrieb Johannes: > But this should be the root cause. signature.asc Description: OpenPGP digital signature

Re: double primary key exception

2014-12-22 Thread Andrew Lindesay
Hello Johannes; What is the value of settings under the "Primary Key" section in the modeller for the "category"? Regards; In some circumstances, which I don't know exactly, I have problems with my sequences. It believe the postgres nextval is not called and with some magic the next pk is in

double primary key exception

2014-12-22 Thread Johannes
Hello! In some circumstances, which I don't know exactly, I have problems with my sequences. It believe the postgres nextval is not called and with some magic the next pk is incremented by something else. Here the data: I have a many-to-many relationship: table:israelnationaltrail join_intcat