ssh

hibernate印射文件

<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
                                   "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.chapter6">

  <class name="Customer" table="CUSTOMERS" lazy="false">
    <id name="id" type="long" column="ID">
      <generator class="increment"/>
    </id>
</class>

</hibernate-mapping>
 

相关推荐