开发者

DB.Null equivalent in JDBC

Is there an equivalent of (ADO.NET) DB.Null in JDBC? Or do I simply pass null in the parameter?

Particularl开发者_运维技巧y in the context of Mysql?


You use PreparedStatement.setNull(). To set a parameter in a PreparedStatement object to null.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜