报错:
Caused by: org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(FeeTime)]
解决方法:
type指的是hibernate中的类型,不是java中的String类型,必须小写,
上面是错误的.下面是正确的.
Caused by: org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(FeeTime)]
解决方法:
type指的是hibernate中的类型,不是java中的String类型,必须小写,
<property column="FeeTime" length="8" name="feeTime" not-null="true" type="String"/>
上面是错误的.下面是正确的.
<property column="FeeTime" length="8" name="feeTime" not-null="true" type="string"/>