| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE hibernate-mapping
- PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
- <hibernate-mapping auto-import="false" default-cascade="all-delete-orphan" default-lazy="false">
- <class discriminator-value="[magoffin.matt.ieat.domain.Unit]"
- name="magoffin.matt.ieat.domain.Unit"
- table="unit">
- <cache usage="read-write"/>
- <id access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="UnitId"
- type="org.hibernate.type.IntegerType"
- unsaved-value="null">
- <column name="unitid" not-null="true"/>
- <generator class="native">
- <param name="sequence">hibernate_integer_seq</param>
- </generator>
- </id>
- <discriminator formula="'magoffin.matt.ieat.domain.Unit'" type="org.hibernate.type.StringType"/>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="Abbreviation">
- <column length="8" name="abbreviation" not-null="true"/>
- <type name="org.hibernate.type.StringType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="Mass">
- <column name="mass" not-null="true"/>
- <type name="org.hibernate.type.BooleanType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="ToImperial">
- <column name="toimperial"/>
- <type name="org.hibernate.type.DoubleType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="Value">
- <column name="Value_"/>
- <type name="org.hibernate.type.StringType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="SystemId">
- <column name="systemid"/>
- <type name="org.hibernate.type.IntegerType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="ToMetric">
- <column name="tometric"/>
- <type name="org.hibernate.type.DoubleType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="ToUS">
- <column name="tous"/>
- <type name="org.hibernate.type.DoubleType"/>
- </property>
- <subclass discriminator-value="magoffin.matt.ieat.domain.Unit"
- name="magoffin.matt.ieat.domain.impl.UnitImpl"/>
- </class>
- </hibernate-mapping>
|