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.
精彩评论