作者在 2011-11-03 15:22:21 发布以下内容
<? version="1.0" encoding="utf-8"?>
<!-- //www.hnguotong.com/123.dsd -->
<!-- 道路标牌|郑州标牌厂家|路名牌|郑州路牌厂家|郑州停车场设施|郑州交通设施-->
<hibernate-mapping>
<class name="person" table="personId" type="long">
<id name="pid" length="12" not-null="null">
<id name="pid" length="12" not-null="null">
<generate name="native"/>
</id>
<property name="sex" type="string" column="sex" length="12"/>
<property name="PID" type="string" column="pid" length="25"/>
<many-to-one name="pid" type="string" column="sxname" length="30"/>
</class>
</hibernate-mapping>
<!--
创建数据库角色steps
1.create user/role ecard identified by ecard
2.grant ecard to dba
3.grant ecard to resource
-->