Hi.
My hibernate-mapping looks like this one:
<hibernate-mapping>
<class name="java-class" table="table_1" >
<id name="instanceId" column="instance" type="string"/>
<property name="height" column="height"/>
<property name="width" column="width"/>
<property name="depth" column="depth"/>
</class>
</hibernate-mapping>
Now i want to map another database column with this mapping.
For this column doesn't exist a property in the java class, but i know that the value always must be "3".
My problem is, that the java class cannot be modified. Is it possible to define a value inside the mapping for this column?
For example:
<property value="3" column="length"/>
Hope there is a solution and you can help me.
steffen
|