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 of the error too?
regards,
Armin
i use ojb 1.0.3
thx in advance
look in his mapping file :
<class-descriptor
class ="ma.gov.statistic.stat.module.arch.donnees.Entite"
table ="arch.ENTITE"
<field-descriptor id="1"
name="code"
column="CODE"
jdbc-type="VARCHAR"
primarykey="true"
/>
<field-descriptor id="2"
name="annee"
column="ANNEE"
jdbc-type="INTEGER"
primarykey="true"
/>
<field-descriptor id="3"
name="libelle"
column="LIBELLE"
jdbc-type="VARCHAR"
/>
</class-descriptor>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]