View Issue Details

IDProjectCategoryView StatusLast Update
0006798SymmetricDSBugpublic2025-04-01 20:42
Reporterelong Assigned Toelong  
Prioritynormal 
Status resolvedResolutionfixed 
Product Version3.15.0 
Target Version3.16.1Fixed in Version3.16.1 
Summary0006798: Sybase ASE unitext error when exceeding 8192 characters
DescriptionOn Sybase ASE, when a table is using a UNITEXT data type, if the value for an insert or update using more than 8192 characters AND it contains characters not valid in the server's character set, the following error is received:

"A wrong datastream has been sent to the server. The server was expecting token 1 but got the token 0."

A reported fix is to convert the characters to bytes representing UTF-16LE (little endian) and send in the byte array as a BLOB data type. Fix is reported to work with JTDS as well as Sybase drivers.
Steps To ReproduceReported in PRO customer ticket [GBY-69953-417]
Tagsdialect: sybase

Relationships

related to 0006774 resolvedelong Sybase ASE unitext error when exceeding 8192 characters 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-04-01 19:26 elong New Issue
2025-04-01 19:26 elong Status new => assigned
2025-04-01 19:26 elong Assigned To => elong
2025-04-01 19:26 elong Tag Attached: dialect: sybase
2025-04-01 19:26 elong Issue generated from: 0006774
2025-04-01 19:26 elong Relationship added related to 0006774
2025-04-01 20:42 elong Status assigned => resolved
2025-04-01 20:42 elong Resolution open => fixed
2025-04-01 20:42 elong Fixed in Version => 3.16.1