Menu

#131 Unexpected Paket Type 0x22

v1.3
open
nobody
None
1
2014-12-10
2014-12-10
No

Hi,

we have discovered a minor problem when using order by statements on Sybase 15.7 tables with the number of selected columns > 255.
In this case, Sybase TDS 5.0 defines a new Paket Type to return the index of the order by column within the select statement. If the index is beyond 255 a new Paket Type 0x22 is sent but not handled with the current 1.3.1 version of jTds Driver.

See Sybase OrderBy2 Definition
http://www.sybase.com/content/1013412/tds34.pdf Page 209

I have attached a patch for this to be integrated into the main release.

Best regards

Dieter

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.