You can set the mapping for Object B to use dynamic-update. Something like
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.starwood.valhalla.poe.marketing.vo">
<class name="ObjectBClass" table="Object_B" dynamic-update="true">
.....
</class>
this will generate required update queries for your situation. I dont know if this attribute is also available in version 2.1.8 but you can verify in the DTD.