Re: Can't generate primary key values for given Identity

2007-03-13 Thread Armin Waibel
se, I get a PersistenceBrokerException: Can't generate primary key values for given Identity . I am using Java5 and the HSQLDB shipped with cocoon. My mapping looks like: primarykey="true" autoincrement="true"> i tried it also with sequence-names, chang

Can't generate primary key values for given Identity

2007-03-11 Thread Björn Voigt
values for given Identity . I am using Java5 and the HSQLDB shipped with cocoon. My mapping looks like: i tried it also with sequence-names, changing to postgres [...] Caused by: org.apache.ojb.broker.PersistenceBrokerException: Can't generate primary key values for

Re: Can't generate primary key values for given Identity

2006-07-21 Thread Armin Waibel
Hi, ABOU LINA wrote: Hi, i have an object that have two primary key. whene i try to make a search query using pk values as condition i got the message : Can't generate primary key values for given Identity Could you please post the source code (of your query) and the the stack trace o

Can't generate primary key values for given Identity

2006-07-21 Thread ABOU LINA
Hi, i have an object that have two primary key. whene i try to make a search query using pk values as condition i got the message : Can't generate primary key values for given Identity i use ojb 1.0.3 thx in advance look in his mapping file :