| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE hibernate-mapping PUBLIC
- "-//Hibernate/Hibernate Mapping DTD 2.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
- <hibernate-mapping
- auto-import="false"
- >
- <class
- name="magoffin.matt.ieat.domain.impl.EthnicityImpl"
- table="Ethnicity"
- >
- <cache usage="read-write" />
- <id
- name="ethnicityId"
- column="ethnicityId"
- type="java.lang.Integer"
- unsaved-value="null"
- >
- <generator class="native">
- <param name="sequence">ethnicity_id_seq</param>
- <!--
- To add non XDoclet generator parameters, create a file named
- hibernate-generator-params-EthnicityImpl.xml
- containing the additional parameters and place it in your merge dir.
- -->
- </generator>
- </id>
- <property
- name="value"
- type="java.lang.String"
- update="true"
- insert="true"
- column="value"
- length="64"
- not-null="true"
- unique="true"
- />
- <!--
- To add non XDoclet property mappings, create a file named
- hibernate-properties-EthnicityImpl.xml
- containing the additional properties and place it in your merge dir.
- -->
- </class>
- </hibernate-mapping>
|