java.sql.SQLException: Start position [1] cannot exceed overall CLOB length [0]
来源:互联网 发布:交通大学网络教育报名 编辑:程序博客网 时间:2024/05/23 21:20
Hibernate 3.6的一个bug:如果把某个字段标记为“@Lob”(MySQL中将对应至LONGTEXT),并且在插入对象时该字段的值为空(null或”"),Hibernate将抛出下面的异常,导致插入失败
经google,Hibernate的JIRA上已经记录了该bug:http://opensource.atlassian.com/projects/hibernate/browse/HHH-5704,10/31刚刚创建。因此在这里建议使用Hibernate的项目暂时不使用3.6版本,而是降级至3.5.2
- java.sql.SQLException: Start position [1] cannot exceed overall CLOB length [0]
- java.sql.SQLException: Cannot create 错误
- java.sql.SQLException: Bigger type length than Maximum
- sql问题:java.sql.SQLException:Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- 解决 java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set解决方法
- java.sql.SQLException: Before start of result set错误
- java.sql.SQLException: Before start of result set
- java.sql.SQLException: Before start of result set解决方法
- java.sql.SQLException: Before start of result set解决方法
- 关于前段时间JAVA编程两件糗事
- 覆写onLayout进行layout,含自定义ViewGroup例子
- CPU调度实践
- Debug Assertion Failed!解决方法详解
- ADB server didn't ACK 解决方法
- java.sql.SQLException: Start position [1] cannot exceed overall CLOB length [0]
- 在线毫秒转为年月日时间
- 覆写onMeaure进行measure操作
- 如何避免Hadoop streaming 自动给单行数据加tab
- 15件事造就有理想的程序员
- STL中仿函数(functors)、类成员和mem_fun的使用
- poj 1502 MPI Maelstrom
- Install the component Admin for tomcat5&6
- sipservlet例子