spring+hibernate处理clob数据

如何配置,网上已经听多了,也很详细。我就是说一下我碰到的一个问题:

org.hibernate.MappingException: Could not determine type for:org.springframework.orm.hibernate.support.ClobStringType

 

问题所在:hbm文件中,字段配置的类型是:type="org.springframework.orm.hibernate.support.ClobStringType"

 

解决办法:将红色部分的hibernate 改为 hibernate3。(我的版本是hibernate3)

 

你可能感兴趣的:(spring,Hibernate,orm)