Re: query manipulation - Mailing list pgsql-jdbc

From Randall Smith
Subject Re: query manipulation
Date
Msg-id etplfl$q1t$1@sea.gmane.org
Whole thread Raw
In response to Re: query manipulation  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: query manipulation  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Why couldn't I subclass PreparedStatement, then override
PreparedStatement.prepareStatement?  When I proxy it, I get about 70 of
these:

The type PreparedStatementProxy must implement the inherited abstract
method Statement.getMaxRows()

Randall

Dave Cramer wrote:
> You don't want to do that you want proxy PreparedStatement, then
> override PreparedStatement.prepareStatement
>
> He is checking the return type of every method to see what is returning
> a prepared statement
>
> Dave

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: query manipulation
Next
From: Oliver Jowett
Date:
Subject: Re: query manipulation