Jean-Pierre Pelletier wrote:
> public void setObject(int parameterIndex, PGInterval x)
> throws SQLException
Overloading setObject() sounds very risky. How about this instead:
public void setInterval(int parameterIndex, PGInterval x)
throws SQLException
That said, this doesn't help the general case as we can't know the set
of extension types ahead of time.
> public void setObject(int parameterIndex, Integer x)
> throws SQLException
> public void setObject(int parameterIndex, String x)
> throws SQLException
I don't see the benefit of these methods; they're just a nonstandard way
of doing things that standard JDBC already lets you do (the second one
especially -- it's identical to PreparedStatement.setString())
-O