View Issue Details

IDProjectCategoryView StatusLast Update
0006907SymmetricDSBugpublic2025-05-28 17:00
Reportermdrouard Assigned Tomdrouard  
Prioritynormal 
Status resolvedResolutionfixed 
Product Version3.14.9 
Target Version3.15.17Fixed in Version3.15.17 
Summary0006907: Sybase ASE ERROR: value too long for type character varying(255). with rapid insert and delete with Latin-1 -> UTF-8
DescriptionReplicating Sybase (Latin-1) -> Postgres (UTF-8), UNIVARCHAR(255) column with sybase.ase.convert.unitypes.for.sync = true
Fails to convert unitype in ExtractDataReader.convertUtf16toUTF8(). This causes Symmetric to attempt to insert hex into the UNIVARCHAR(255) column.
Results in - ERROR: value too long for type character varying(255)
Steps To Reproduce1.a. Set up Sybase DB with Latin-1 collation
    b. Create Sybase table with UNIVARCHAR(255) column
2.a. Create Postgres DB with UTF-8 collation
    b. Create Postgres table with CHARACTER VARYING(255) column
3. Set up table in Symmetric to replicate Sybase -> Postgres
4. Set the following parameter: sybase.ase.convert.unitypes.for.sync = true
5. Insert then delete in quick succession in Sybase with data that is around 255 characters.

Tagsdialect: sybase

Relationships

related to 0005921 closedjvanmeter Adding Uni* type support to Sybase ASE 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.15 92500c91

2025-05-28 16:32:24

mdrouard


Committer: GitHub Details Diff
0006907: Sybase ASE ERROR: value too long for type character (#286) Affected Issues
0006907
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/data/reader/ExtractDataReader.java Diff File

SymmetricDS: 3.16 69468c47

2025-05-28 16:32:24

mdrouard


Committer: pbelov Details Diff
0006907: Sybase ASE ERROR: value too long for type character (#286) Affected Issues
0006907
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/data/reader/ExtractDataReader.java Diff File

Issue History

Date Modified Username Field Change
2025-05-28 15:07 mdrouard New Issue
2025-05-28 15:07 mdrouard Status new => assigned
2025-05-28 15:07 mdrouard Assigned To => mdrouard
2025-05-28 15:07 mdrouard Tag Attached: dialect: sybase
2025-05-28 15:08 mdrouard Relationship added related to 0005921
2025-05-28 16:31 pbelov Status assigned => confirmed
2025-05-28 16:33 pbelov Fixed in Version => 3.15.17
2025-05-28 16:43 pbelov Status confirmed => resolved
2025-05-28 16:43 pbelov Resolution open => fixed
2025-05-28 17:00 mdrouard Changeset attached => SymmetricDS 3.15 92500c91
2025-05-28 17:00 pbelov Changeset attached => SymmetricDS 3.16 69468c47