有一个配置文件role.hbm.xml
里面有一段的内容如下<hibernate-mapping package="包名">
<class name="role" table="role表">
<meta attribute="sync-DAO">false</meta>
<cache usage="read-write"/>
<id name="id" type="integer" column="role_id"><generator class="identity"/></id>
<property name="name" column="role_name" type="string" not-null="true" length="100"/>
<property name="priority" column="priority" type="integer" not-null="true" length="10"/>
<property name="super" column="is_super" type="java.lang.Boolean" not-null="true"/>
<many-to-one name="site" column="site_id" class="CmsSite" not-null="false"></many-to-one>
<set name="perms" table="permission表">
<cache usage="read-write"/>
<key column="role_id" not-null="true"/>
<element column="uri" type="string" length="100" not-null="true"/>
</set>
</class>
</hibernate-mapping>
其中,permission表没有对应的hbm.xml文件,只是如上面所写配置在了role.hbm.xml中,permission表中只有两个字段“role_id”和“uri”,按照上面的配置能够运行程序,但是如果我在permission表中在加入一个字段上面的配置文件应该怎么配置?还是说需要新建一个permission表的hbm.xml映射文件?