JDBC中是否有(ADO.NET)DB.Null的等价物?或者我只是在参数中传递null?
你用 PreparedStatement.setNull() . 在数据库中设置参数 PreparedStatement 对象为空。
PreparedStatement