开发者

DB.Null equivalent in JDBC

开发者 https://www.devze.com 2022-12-23 19:27 出处:网络
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 para

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

精彩评论

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