hbm映射文件为:
<property name="content" type="text" length="10000"/>
执行hbSess.load(Class,id)出现下面异常。
而如果type改为string则不会。急需帮助,谢谢!
org.hibernate.exception.GenericJDBCException: could not load an entity: [ybs.wwb.dto.ProductDto#1] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
<property name="content" type="text" length="10000"/>
执行hbSess.load(Class,id)出现下面异常。
而如果type改为string则不会。急需帮助,谢谢!
org.hibernate.exception.GenericJDBCException: could not load an entity: [ybs.wwb.dto.ProductDto#1] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货