Hi,
For my part, I've never used any of those calls.
FWIW, I always use reference objects such as "Integer" as opposed to "int"
so I've never done it that way. All calls to setObject or set<Anything>
would always use a variable which is typed (and may be null) my assumption
is that I avoid all such ambiguities that way.
regards
iain
> Kris Jurka wrote:
> General question for the list: how much code is out there that performs
> one of these (equivalent) calls?
>
> PreparedStatement.setObject(i, null);
> PreparedStatement.setObject(i, null, Types.OTHER);
> PreparedStatement.setNull(i, Types.OTHER);
>