View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006774 | SymmetricDS | Bug | public | 2025-03-20 17:50 | 2025-03-20 17:50 |
Reporter | elong | Assigned To | elong | ||
Priority | normal | ||||
Status | assigned | Resolution | open | ||
Product Version | 3.15.0 | ||||
Target Version | 3.15.15 | ||||
Summary | 0006774: Sybase ASE unitext error when exceeding 8192 characters | ||||
Description | On 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. | ||||
Tags | dialect: sybase | ||||