ReconProcess.hbm.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  3. <hibernate-mapping package="id.co.hanoman.service.rekon">
  4. <class name="ReconProcess" table="reconprocess" lazy="false" >
  5. <!--id name="reconProcessPk" column="reconprocess_pk" type="long">
  6. <generator class="native" />
  7. </id-->
  8. <id name="reconProcessPk" column="reconprocess_pk" type="string" length="255" />
  9. <property name="channelFk" column="channel_fk" type="string" not-null="false"/>
  10. <property name="reconProcess" column="reconprocess" type="string" not-null="false" length="255"/>
  11. <property name="startRecon" column="startrecon" type="string" not-null="false" length="10"/>
  12. <property name="fileView" column="fileview" type="string" not-null="false" length="255"/>
  13. <!--property name="formType" column="form_type" type="string" not-null="false" length="255"/-->
  14. <bag name="reconActions" cascade="all-delete-orphan">
  15. <key column="reconprocess_fk" />
  16. <one-to-many class="ReconAction"/>
  17. </bag>
  18. <bag name="reconSchedules" cascade="all-delete-orphan">
  19. <key column="reconprocess_fk" />
  20. <one-to-many class="ReconSchedule"/>
  21. </bag>
  22. </class>
  23. </hibernate-mapping>