1
0

Host.hbm.xml 941 B

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.config">
  4. <class name="Host" table="host" lazy="false" >
  5. <id name="id" column="id" type="string" length="256" />
  6. <property name="host" column="host" type="string" length="256" not-null="true" />
  7. <property name="username" column="username" type="string" length="64" not-null="false" />
  8. <property name="password" column="password" type="string" length="256" not-null="false" />
  9. <property name="context" column="context" type="string" length="1024" not-null="false" />
  10. <property name="modifiedBy" column="modified_by" type="string" length="64" not-null="true"/>
  11. <property name="timestamp" column="timestamp" type="java.util.Calendar" not-null="true"/>
  12. </class>
  13. </hibernate-mapping>