PreparedStatement.close() - Mailing list pgsql-jdbc

From Felipe Schnack
Subject PreparedStatement.close()
Date
Msg-id 1042062224.11829.171.camel@desenv1.ritterdosreis.br
Whole thread Raw
Responses Re: PreparedStatement.close()  (Barry Lind <blind@xythos.com>)
List 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@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

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


pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: [GENERAL] ArrayIndexOutOfBoundsException in Encoding.decodeUTF8()
Next
From: Felipe Schnack
Date:
Subject: Re: synchronized code