<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 131: Unexpected Paket Type 0x22</title><link href="https://sourceforge.net/p/jtds/patches/131/" rel="alternate"/><link href="https://sourceforge.net/p/jtds/patches/131/feed.atom" rel="self"/><id>https://sourceforge.net/p/jtds/patches/131/</id><updated>2014-12-10T14:30:56.936000Z</updated><subtitle>Recent changes to 131: Unexpected Paket Type 0x22</subtitle><entry><title>Unexpected Paket Type 0x22</title><link href="https://sourceforge.net/p/jtds/patches/131/" rel="alternate"/><published>2014-12-10T14:30:56.936000Z</published><updated>2014-12-10T14:30:56.936000Z</updated><author><name>Dieter Eickstaedt</name><uri>https://sourceforge.net/u/deicon/</uri></author><id>https://sourceforge.net08d52bf6c7b62493a5e369c9be7efe03d450bdbb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;we have discovered a minor problem when using order by statements on Sybase 15.7 tables with the number of selected columns &amp;gt; 255. &lt;br /&gt;
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. &lt;/p&gt;
&lt;p&gt;See Sybase OrderBy2 Definition &lt;br /&gt;
&lt;a href="http://www.sybase.com/content/1013412/tds34.pdf" rel="nofollow"&gt;http://www.sybase.com/content/1013412/tds34.pdf&lt;/a&gt; Page 209&lt;/p&gt;
&lt;p&gt;I have attached a patch for this to be integrated into the main release. &lt;/p&gt;
&lt;p&gt;Best regards &lt;/p&gt;
&lt;p&gt;Dieter&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>