Re: query manipulation

From: Randall Smith <randall(at)tnr(dot)cc>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: query manipulation
Date: 2007-03-20 21:59:11
Message-ID: etplfl$q1t$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2007-03-20 22:08:07 Re: query manipulation
Previous Message Dave Cramer 2007-03-20 19:47:13 Re: query manipulation