Hibernate中遇到如下问题:
org.hibernate.MappingException:
Could not determine type for: Integer, at table: J_Product, for columns: [org.hibernate.mapping.Column(Price)]
这是因为这里的type指的是Hibernate中的type类型
而不是Java中的类型,所以应该小写 integer、string这样
本文解析了Hibernate中MappingException的问题,特别是针对无法确定Integer类型的错误。该错误通常出现在使用不正确的大小写设置类型时,例如在J_Product表的Price列上指定Integer而非integer。
Hibernate中遇到如下问题:
org.hibernate.MappingException:
Could not determine type for: Integer, at table: J_Product, for columns: [org.hibernate.mapping.Column(Price)]
这是因为这里的type指的是Hibernate中的type类型
而不是Java中的类型,所以应该小写 integer、string这样
541
973
785
2010
3892

被折叠的 条评论
为什么被折叠?