Hello,
Is it possible to save/update a component after loading it by session.find()? We're not selecting the object as a whole, only the component...
If it is, then we must have a mapping file for the component class, right?
I have tried to save a component with the following mapping file and nothing happened:
<class name="Abc" table="tbl_Abc">
<id name="surname" column="surname" type="java.lang.String">
<generator class="assigned">
</generator>
</id>
</class>
There is only one field in the component...
Regards.
Serkan Soykan
|