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 :

<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>

Reply via email to