NhServerConfig.hbm.xml 1.2 KB

123456789101112131415161718
  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.ePayment">
  4. <class name="NhServerConfig" table="nh_server_config" lazy="false" >
  5. <id name="id" column="id" type="long" />
  6. <property name="lastSynch" column="last_synch" type="java.util.Calendar" not-null="true" />
  7. <property name="currentNode" column="current_node" type="string" length="20" not-null="false" />
  8. <property name="serverStatus" column="server_status" type="string" length="10" not-null="true" />
  9. <property name="lastStatus" column="last_status" type="string" length="10" not-null="true" />
  10. <property name="modifiedBy" column="modified_by" type="string" length="32" not-null="true" />
  11. <property name="modifiedDate" column="modified_date" type="java.util.Calendar" not-null="true" />
  12. <property name="synchStartTime" column="synch_start_time" type="java.util.Calendar" not-null="true" />
  13. <property name="synchStopTime" column="synch_stop_time" type="java.util.Calendar" not-null="true" />
  14. </class>
  15. </hibernate-mapping>