<?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="com.chen.annotation.o2m">
<class name="Group" table="table_g">
<id name="pid" column="pid">
<generator class="uuid" />
</id>
<property name="groupName" column="NAME_" />
<many-to-one name="parentGroup" column="parent_id"
class="com.chen.annotation.o2m.Group" foreign-key="FK_GROUP_PARENT"
index="IDX_GROUP_PARENT" />
</class>
</hibernate-mapping>
这个 index 有什么作用 查不到文档