But that idea would not work in APIs like JDBC for example (something
i was trying to immitate partly). PreparedStatement has method
setInt(int, int) while CallableStatement has method
setInt(string,int).

It is not possible to compile CallableStatement.setInt(int,int)
without casting or putting in aliases to a number of methods of
PreparedStatement in CallableStatement.

Reply via email to