Is there an equivalent of (ADO.NET) DB.Null in JDBC? Or do I simply pass null in the parameter?
Particularly in the context of Mysql?
Is there an equivalent of (ADO.NET) DB.Null in JDBC? Or do I simply pass null in the parameter?
Particularly in the context of Mysql?
You use PreparedStatement.setNull(). To set a parameter in a PreparedStatement
object to null.