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中遇到如下问题:
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这样