如何配置,网上已经听多了,也很详细。我就是说一下我碰到的一个问题:
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)
本文介绍了解决在Hibernate中使用ClobStringType时出现的MappingException问题的方法。问题出现在hbm文件中字段配置的类型不匹配。解决办法是将配置中的hibernate版本指定为hibernate3。
4296

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



