commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodney Waldhoff <>
Subject RE: [DBCP] Building the DBCP jarfile
Date Thu, 12 Dec 2002 17:31:06 GMT
On Thu, 12 Dec 2002, Martin van Dijken wrote:

> Everything works peachy now, except for 13 deprecated warnings:)

The DelegatingXXX classes in DBCP override also delegate the deprecated
methods of XXX, for example:

class DelegatingPreparedStatement extends PreparedStatement {
 /** @deprecated */
 public void setUnicodeStream(int parameterIndex,
                              InputStream in,
                              int length) throws SQLException {

The overridden method is also deprecatd (thats one kind of warning) but we
still invoke the "delegate's" setUnicodeStream, which should be the kinds
of warnings you're seeing.

These warnings are annoying, but I think we've got the right approach.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message