amila733 wrote:
Hi
error is set element in your join
Yse you are right, this is what exception tell us.
But i configure it based on hibernate document.
Here is one of subclass mapping
<subclass name="cn.test.dao.model.Room" discriminator-value="room">
<join table="room">
<key column="meta_id"/>
<property name="bed" type="java.lang.Integer">
<column name="bed" />
</property>
<many-to-one name="hotel" class="cn.test.dao.model.Hotel">
<column name="hotel_id" length="48" />
</many-to-one>
</join>
</subclass>
could you tell which is wrong.
Tks..