我想像下面这样定义包
<bag name="tags" table="TAG" schema="abcd">
<key column="TAG_ID"></key>
<element column="TAG_ID" type="long"></element>
<one-to-many class="com.xyzpkg.Tag" />
</bag>
在上述情况下,它们是 hbm 文件中的 xml 错误说:
The content of element type "bag" must match
"(meta*,subselect?,cache?,synchronize*,comment?,key,(element|one-to-many|many-to-
many|composite-element|many-to-any),loader?,sql-insert?,sql-update?,sql-delete?,sql-
delete-all?,filter*)".