`

使用MySQL存储compass+lucene的索引时遇到的异常

阅读更多
部分异常信息如下:
java.sql.SQLException: "pos" + "length" arguments can not be larger than the BLOB's length

解决方法:
在数据库连接URL中加上:emulateLocators=true
例如:jdbc:mysql://localhost:3306/dbname?emulateLocators=true
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics