| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?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.MealRecipeImpl"
- table="MealRecipe"
- >
- <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-MealRecipeImpl.xml
- containing the additional parameters and place it in your merge dir.
- -->
- </generator>
- </id>
- <many-to-one
- name="recipe"
- class="magoffin.matt.ieat.domain.impl.RecipeImpl"
- cascade="none"
- outer-join="auto"
- update="true"
- insert="true"
- column="recipe"
- />
- <many-to-one
- name="course"
- class="magoffin.matt.ieat.domain.impl.CourseImpl"
- cascade="none"
- outer-join="auto"
- update="true"
- insert="true"
- column="course"
- />
- <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-MealRecipeImpl.xml
- containing the additional properties and place it in your merge dir.
- -->
- </class>
- </hibernate-mapping>
|