RecipeStep.hbm.xml 1.3 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-mapping
  3. PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  4. <hibernate-mapping auto-import="false" default-cascade="all-delete-orphan" default-lazy="false">
  5. <class discriminator-value="[magoffin.matt.ieat.domain.RecipeStep]"
  6. name="magoffin.matt.ieat.domain.RecipeStep"
  7. table="recipestep">
  8. <cache usage="read-write"/>
  9. <id access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
  10. name="Hjid"
  11. type="org.hibernate.type.LongType"
  12. unsaved-value="null">
  13. <column name="stepid" not-null="true"/>
  14. <generator class="native"/>
  15. </id>
  16. <discriminator formula="'magoffin.matt.ieat.domain.RecipeStep'"
  17. type="org.hibernate.type.StringType"/>
  18. <property access="org.jvnet.hyperjaxb2.runtime.hibernate.accessor.CheckingPropertyAccessor"
  19. name="Value">
  20. <column name="Value_"/>
  21. <type name="org.hibernate.type.StringType"/>
  22. </property>
  23. <subclass discriminator-value="magoffin.matt.ieat.domain.RecipeStep"
  24. name="magoffin.matt.ieat.domain.impl.RecipeStepImpl"/>
  25. </class>
  26. </hibernate-mapping>