2
<!DOCTYPE hibernate-mapping SYSTEM "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
4
<hibernate-mapping package="org.hibernate.test.typeparameters">
6
<typedef name="nullToTwo"
7
class="org.hibernate.test.typeparameters.DefaultValueIntegerType">
8
<param name="default">2</param>
11
<class name="Widget" table="STRANGE_TYPED_OBJECT">
12
<id name="id" column="ID">
13
<generator class="increment"/>
15
<property name="valueOne" column="VALUE_ONE">
16
<type name="org.hibernate.test.typeparameters.DefaultValueIntegerType">
17
<param name="default">1</param>
20
<property name="valueTwo" column="VALUE_TWO" type="nullToTwo"/>
21
<property name="valueThree" column="VALUE_THREE" type="nullToMinusOne"/>
22
<property name="valueFour" column="VALUE_FOUR">
23
<type name="nullToTwo">
24
<param name="default">-5</param>
27
<property name="string"/>
b'\\ No newline at end of file'