~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/lib/hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/typeparameters/Widget.hbm.xml

  • Committer: Raging Goblin
  • Date: 2013-11-16 16:51:32 UTC
  • Revision ID: raging_goblin-20131116165132-weujnptzc88uy4ah
Mavenized the project, now using shared project InfologSync

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<!DOCTYPE hibernate-mapping SYSTEM "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
3
 
 
4
 
<hibernate-mapping package="org.hibernate.test.typeparameters">
5
 
 
6
 
        <typedef name="nullToTwo"
7
 
                class="org.hibernate.test.typeparameters.DefaultValueIntegerType">
8
 
                <param name="default">2</param>
9
 
        </typedef>
10
 
 
11
 
    <class name="Widget" table="STRANGE_TYPED_OBJECT">
12
 
        <id name="id" column="ID">
13
 
            <generator class="increment"/>
14
 
        </id>
15
 
        <property name="valueOne" column="VALUE_ONE">
16
 
                        <type name="org.hibernate.test.typeparameters.DefaultValueIntegerType">
17
 
                                <param name="default">1</param>
18
 
                        </type>
19
 
                </property>
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>
25
 
                        </type>
26
 
                </property>
27
 
                <property name="string"/>
28
 
    </class>
29
 
    
30
 
 
31
 
</hibernate-mapping>
 
 
b'\\ No newline at end of file'