JDBC Driver: Check for closed statement

From: Kim Ho <kho(at)redhat(dot)com>
To: pgsql-jdbc-list <pgsql-jdbc(at)postgresql(dot)org>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: JDBC Driver: Check for closed statement
Date: 2003-07-03 17:17:57
Message-ID: 1057252677.4863.19.camel@topanga.toronto.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

Problem:
- Closing a statement should cause it to throw exceptions when
execute/set/get methods are called on it.

Fix:
- Flag is set when the statement is closed. It is checked whenever an
execute/get/set method is called.

Cheers,

Kim

Attachment Content-Type Size
fixclose.diff text/plain 22.5 KB

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kim Ho 2003-07-03 18:35:19 UPDATED Re: ToBoolean method return correct Boolean values as per JDBC spec
Previous Message Fernando Nasser 2003-07-03 14:19:35 Re: Please help with binary file

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2003-07-03 18:10:38 Re: "fix" for plpgsql polymorphism
Previous Message Tom Lane 2003-07-03 14:30:20 Re: "fix" for plpgsql polymorphism