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



Randall Smith wrote:
Why couldn't I subclass PreparedStatement, then override PreparedStatement.prepareStatement?

Because PreparedStatement is an interface, not a class.

When I proxy it, I get about 70 of these:

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

Dave meant using java.lang.reflect.Proxy not implementing the whole class yourself (which you could do, it's just tedious)

-O



Home | Main Index | Thread Index

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