statement's hashCode() - Mailing list pgsql-jdbc

From Felipe Schnack
Subject statement's hashCode()
Date
Msg-id 1040921571.1332.44.camel@desenv1.ritterdosreis.br
Whole thread Raw
Responses Re: statement's hashCode()  (Dave Cramer <Dave@micro-automation.net>)
List pgsql-jdbc
  I'm writing some routines that could be improved vastly if I had a
hash to identify an AbstractJdbc1Statement. What I need is a method that
returns me an equal value when two instances of the Statement class have
the same SQL query and parameters.
  I just took a look at the sources and noted that right now this class
(AbstractJdbc1Statement) does not implement a custom hashCode()
function... Maybe some of you experts in its implementation could give
me some tips about how I could implement this?

--

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: Joseph Shraibman
Date:
Subject: OT jdbc2.0 extention
Next
From: Dave Cramer
Date:
Subject: Re: statement's hashCode()