Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: query manipulation



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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group