| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?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.RecipeIngredientImpl"
- table="RecipeIngredient"
- >
- <cache usage="read-write" />
- <id
- name="idInternal"
- column="idInternal"
- type="java.lang.String"
- length="32"
- unsaved-value="null"
- >
- <generator class="uuid.hex">
- <!--
- To add non XDoclet generator parameters, create a file named
- hibernate-generator-params-RecipeIngredientImpl.xml
- containing the additional parameters and place it in your merge dir.
- -->
- </generator>
- </id>
- <many-to-one
- name="ingredient"
- class="magoffin.matt.ieat.domain.impl.IngredientImpl"
- cascade="none"
- outer-join="auto"
- update="true"
- insert="true"
- column="ingredient"
- />
- <many-to-one
- name="unit"
- class="magoffin.matt.ieat.domain.impl.UnitImpl"
- cascade="none"
- outer-join="auto"
- update="true"
- insert="true"
- column="unit"
- />
- <property
- name="optional"
- type="boolean"
- update="true"
- insert="true"
- column="optional"
- not-null="true"
- />
- <many-to-one
- name="recipe"
- class="magoffin.matt.ieat.domain.impl.RecipeImpl"
- cascade="none"
- outer-join="auto"
- update="true"
- insert="true"
- column="recipe"
- />
- <property
- name="qualifier"
- type="java.lang.String"
- update="true"
- insert="true"
- column="qualifier"
- length="255"
- />
- <property
- name="quantity"
- type="double"
- update="true"
- insert="true"
- column="quantity"
- not-null="true"
- />
- <!--
- To add non XDoclet property mappings, create a file named
- hibernate-properties-RecipeIngredientImpl.xml
- containing the additional properties and place it in your merge dir.
- -->
- </class>
- </hibernate-mapping>
|