Sybase令牌数据流长度不正确 [英] Sybase token datastream length was not correct

查看:288
本文介绍了Sybase令牌数据流长度不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将二进制文件保存到图像列时遇到错误.

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

org.springframework.jdbc.UncategorizedSQLException:PreparedStatementCallback; SQL的未分类SQLException [插入lens_dal_data(dal_cd,user_id,insert_dt,exp_dt,url,map_data,cat_cd)值(?,?,?,?,?,?,?,?)]; SQL状态[ZZZZZ];错误代码[3805];令牌数据流长度不正确.这是内部协议错误. ;嵌套异常为java.sql.SQLException:令牌数据流长度不正确.这是内部协议错误.

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.

推荐答案

为此经过2天的努力就可以弄清楚.

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

这是jconn4 jar和7.0.0版的问题

It's a issue with jconn4 jar and version 7.0.0

当我们将jar升级到7.0.7时,此问题已解决.

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

这篇关于Sybase令牌数据流长度不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆