PreparedStatement.close()

From: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
To: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: PreparedStatement.close()
Date: 2003-01-08 21:43:44
Message-ID: 1042062224.11829.171.camel@desenv1.ritterdosreis.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I have a class with lots of preparedstatements, all server-side
prepared.
In a very specific situation, a preparestatement was created, but the
query was never actually executed (read: executeUpdate() or query() were
never invoked). Then, when I tried to close the statement an error was
thrown: "STATEMENT JDBC_STATEMENT_13 NOT FOUND". Obviously this happens
because the statement was never prepared :-)

--

Felipe Schnack
Analista de Sistemas
felipes(at)ritterdosreis(dot)br
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
ritter(at)ritterdosreis(dot)br
Fone/Fax.: (51)32303341

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2003-01-08 21:47:00 Re: [JDBC] ArrayIndexOutOfBoundsException in Encoding.decodeUTF8()
Previous Message Oliver Jowett 2003-01-08 21:40:33 Re: synchronized code