Caused by: org.hibernate.MappingException: must specify an identifier type:
这个问题的原因出自配置文件中的id主键配置方式如下:
<id name="itemId">
<generator class="native"/>
</id>
问题就解决了。。。。。。。
Caused by: org.hibernate.MappingException: must specify an identifier type:
这个问题的原因出自配置文件中的id主键配置方式如下:
<id name="itemId">
<generator class="native"/>
</id>
问题就解决了。。。。。。。