我在休眠类中遇到错误。元素类型“id”的内容必须匹配“(meta*,column*,type?,generator?)”
映射类:
<class name="com.subex.models.Issues" table="ISSUES">
<id name="id" type="integer" column="id" >
<generator class="native"/>
<param name="sequence">ISSUES_Seq</param>
</id>
<property name="brief" type="string" column="brief"/>
<property name="description" type="string" column="description"/>
<property name="module" type="string" column="module"/>
<property name="version" type="string" column="version"/>
<property name="site" type="string" column="site"/>
<property name="posted_by" type="string" column="posted_by"/>
</class>
请协助。