ErrorMapping.hbm.xml 1.1 KB

12345678910111213141516171819202122
  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.config">
  4. <class name="ErrorMapping" table="error_mapping" lazy="false" >
  5. <id name="id" column="id" type="long">
  6. <generator class="native" />
  7. </id>
  8. <property name="source" column="source" type="string" length="50" not-null="false"/>
  9. <property name="srcErrCode" column="src_error_code" type="string" length="5" not-null="false"/>
  10. <property name="destination" column="destination" type="string" length="50" not-null="false"/>
  11. <property name="desErrCode" column="des_error_code" type="string" length="5" not-null="false" />
  12. <property name="description" column="description" type="string" length="255" not-null="false" />
  13. <property name="modifiedBy" column="modified_by" type="string" length="64" not-null="true"/>
  14. <property name="modifiedDate" column="modified_date" type="timestamp" not-null="true"/>
  15. </class>
  16. </hibernate-mapping>