赵峰 wrote:
> Apache Derby Network Server - 10.4.2.0
> String sql="insert into test (id,name) value(1,?)";
> PreparedStatement ps=con.prepareStatement(sql);
> ps.setObject(1,null);
> ps.executeUpdate()


try something like this :

ps.setNull(1, Types.Integer);

Reply via email to