Dbconn.hbm.xml 1.0 KB

1234567891011121314151617181920
  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="Dbconn" table="dbconn" lazy="false" >
  5. <id name="id" column="id" type="string" length="256" />
  6. <property name="driver" column="driver" type="string" length="256" not-null="true" />
  7. <property name="url" column="url" type="string" length="256" not-null="true" />
  8. <property name="username" column="username" type="string" length="64" not-null="true" />
  9. <property name="password" column="password" type="string" length="256" not-null="true" />
  10. <property name="schema" column="schema" type="string" length="32" not-null="true" />
  11. <property name="modifiedBy" column="modified_by" type="string" length="64" not-null="true"/>
  12. <property name="timestamp" column="timestamp" type="java.util.Calendar" not-null="true"/>
  13. </class>
  14. </hibernate-mapping>