Hi all,
I have a table with multiple key.
For exemple, this table is called Product. It has a
key composed by a ctrl_id and an id. I would like to
map this table with a class like :
public class Product {
private Integer key = null;
private java.lang.Integer ctrlId = null;
public Integer getKey() {
return cle;
}
public java.lang.Integer getCtrlId() {
return ctrlId;
}
public void setKey(Integer newKey) {
key = newCle;
}
public void setCtrlId(java.lang.Integer newCtrlId) {
ctrlId = newCtrlId;
}
}
How will be my mapping.xml file ???
What is the consequence on identity field ? Is like
this ???
<class name="Product" identity="ctrlId"
identity="key">
___________________________________________________________
Un nouveau Nokia Game commence.
Allez sur http://fr.yahoo.com/nokiagame avant le 3 novembre
pour participer � cette aventure tous m�dias.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev