| Hi, and sorry again, now I have a doubt if I have a composite identifiers, for example:
 <composite-id name="idDetUserGroupPK" class="com.security.impl.DetUserGroupPKImpl">
 <key-property
 name="idUser"
 column="idUser"
 type="int"
 length="10"
 />
 <key-property
 name="idGroup"
 column="idGroup"
 type="int"
 length="10"
 />
 </composite-id>
 
 and I want to add the unsaved-value="null" param to specify the identifier value of a newly instantiated instance, do I have to put it in every key-property that I have ?? I mean, Do I have to do this :
 
 <composite-id name="idDetUserGroupPK" class="com.security.impl.DetUserGroupPKImpl">
 <key-property
 name="idUser"
 column="idUser"
 type="int"
 length="10"
 unsaved-value="null"
 />
 <key-property
 name="idGroup"
 column="idGroup"
 type="int"
 length="10"
 unsaved-value="null"
 />
 </composite-id>
 
 or where Do I have to put the unsaved-value param ???
 
 Thank in advance,
 Alejandro.-
 
 
 |