patch: fix exceptions from ResultSet.getArray()

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: patch: fix exceptions from ResultSet.getArray()
Date: 2003-07-20 13:08:20
Message-ID: 20030720130820.GJ32403@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

This patch adds a call to checkResultSet() that was missing from
AbstractJdbc2ResultSet.getArray(), resulting in NPEs or
ArrayIndexOutOfBounds on a bad use of getArray().

-O

Attachment Content-Type Size
pgsql-missing_getarray_check.txt text/plain 763 bytes

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Thomas 2003-07-20 13:10:26 Re: jdbc batch performance problem
Previous Message pginfo 2003-07-20 13:02:13 Re: jdbc batch performance problem