DbConnection.hbm.xml 1.1 KB

1234567891011121314151617181920212223
  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="DbConnection" table="dbconnection" lazy="false" >
  5. <id name="dbconnectionPk" column="dbconnection_pk" type="long">
  6. <generator class="native" />
  7. </id>
  8. <property name="dsn" column="dsn" type="string" not-null="false" length="255" />
  9. <property name="jdbcDriver" column="jdbcdriver" type="string" not-null="false" length="255" />
  10. <property name="jdbcUrl" column="jdbcurl" type="string" not-null="false" length="255" />
  11. <property name="loginName" column="loginname" type="string" not-null="false" length="255" />
  12. <property name="password" column="password" type="string" not-null="false" length="255" />
  13. <property name="modifiedBy" column="modified_by" type="string" not-null="true" length="64" />
  14. <property name="timestamp" column="timestamp" type="timestamp" not-null="true"/>
  15. </class>
  16. </hibernate-mapping>