org.hibernate.id.IdentifierGenerationException: id

Spring mvc 用POI 导入Excel数据的时候提示:org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save()。mvc

缘由:检查以后发现是由于Excel的数据格式不对。应该是文本,可是表格显示数据是常规。因此你们若是有遇到相似的问题要看一下是不是本身要导入的Excel格式不对,this

相关文章
相关标签/搜索