hibernate映射文件
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="app.document">
?<class name="User" table="USER">
??<id name="id" type="java.lang.Integer">
???<column name="USERID"/>
???<generator type="java.lang.String">
???<column name="NAME"/>
??</property>
??<property name="createDT" type="java.sql.Timestamp">
???<column name="CREATEDATETIME" />
??</property>?
?</class>
</hibernate-mapping>