Sybase token datastream length was not correct

左心房为你撑大大i 提交于 2019-12-08 05:42:32

问题


Getting below error while saving a binary into a image column.

org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [insert into lens_dal_data(dal_cd,user_id,insert_dt,exp_dt,url,map_data,cat_cd) values(?,?,?,?,?,?,?)]; SQL state [ZZZZZ]; error code [3805]; The token datastream length was not correct. This is an internal protocol error. ; nested exception is java.sql.SQLException: The token datastream length was not correct. This is an internal protocol error.


回答1:


Was able to figure out after fighting 2 days on this.

It's a issue with jconn4 jar and version 7.0.0

when we upgraded the jar to 7.0.7 the issue is resolved.



来源:https://stackoverflow.com/questions/36504099/sybase-token-datastream-length-was-not-correct

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!