<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 133: StringIndexOutOfBoundsException while preparing a stored procedure call</title><link href="https://sourceforge.net/p/jtds/patches/133/" rel="alternate"/><link href="https://sourceforge.net/p/jtds/patches/133/feed.atom" rel="self"/><id>https://sourceforge.net/p/jtds/patches/133/</id><updated>2015-02-13T04:29:49.914000Z</updated><subtitle>Recent changes to 133: StringIndexOutOfBoundsException while preparing a stored procedure call</subtitle><entry><title>StringIndexOutOfBoundsException while preparing a stored procedure call</title><link href="https://sourceforge.net/p/jtds/patches/133/" rel="alternate"/><published>2015-02-13T04:29:49.914000Z</published><updated>2015-02-13T04:29:49.914000Z</updated><author><name>David Bryant</name><uri>https://sourceforge.net/u/davebryant/</uri></author><id>https://sourceforge.net9a4ee7ab5d9e2790c9468d4d4a767ac7d4133d06</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A StringIndexOutOfBoundsException occurred while running the existing CallableStatementTest.testCallableStatementExec8 test after it was modified to run against Sybase. The problem was due to misplaced parentheses in the JtdsPreparedSatement.normalize() method where a length check only applied to one out of two conditions when it should have applied to both.&lt;/p&gt;
&lt;p&gt;The patch is attached and can also be found at &lt;a href="https://gist.github.com/davidbryant/b23984a2d3b94725227f." rel="nofollow"&gt;https://gist.github.com/davidbryant/b23984a2d3b94725227f.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>