| 123456789101112131415161718192021222324252627282930313233343536 |
- <?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.RecipeRating]"
- name="magoffin.matt.ieat.domain.RecipeRating"
- table="reciperating">
- <cache usage="read-write"/>
- <id access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="RatingId"
- type="org.hibernate.type.LongType"
- unsaved-value="null">
- <column name="ratingid" not-null="true"/>
- <generator class="native"/>
- </id>
- <discriminator formula="'magoffin.matt.ieat.domain.RecipeRating'"
- type="org.hibernate.type.StringType"/>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="UserId">
- <column name="userid" not-null="true"/>
- <type name="org.hibernate.type.IntegerType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="Rating">
- <column name="rating" not-null="true"/>
- <type name="org.hibernate.type.ShortType"/>
- </property>
- <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
- name="CreatedDate">
- <column name="createddate" not-null="true"/>
- <type name="org.jvnet.hyperjaxb2.runtime.hibernate.type.CalendarType"/>
- </property>
- <subclass discriminator-value="magoffin.matt.ieat.domain.RecipeRating"
- name="magoffin.matt.ieat.domain.impl.RecipeRatingImpl"/>
- </class>
- </hibernate-mapping>
|