首页 > 代码库 > Hibernate实体配置文件User.hbm.xml

Hibernate实体配置文件User.hbm.xml

<?xml version="1.0"?><!DOCTYPE hibernate-mapping PUBLIC     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"><hibernate-mapping     package="hibernate.domain">    <class name="User" >        <id name="u_id">            <generator class="native"/>        </id>        <property name="u_name"/>        <property name="u_come"/>    </class>    </hibernate-mapping>

 

Hibernate实体配置文件User.hbm.xml