java preparedstatement executeUpdate return 错误影响行
java preparedstatement executeUpdate return wrong affected rows
我使用 spring jdbctemplate 来更新一些行,但是我得到了这个日志 message.Two 完全相同 sql returns 不同的影响 rows.There 是不可能的第二个更新操作 returns 0 受影响 rows.I 只是想不通。
2015-12-03 12:37:37 [INFO] [qtp683362635-1187] c.t.s.c.i.d.IDGJdbcDao - update:
update JCSZ..T_IDG
set N_VALUE = ?
where C_BusinessID = ?
and C_ComID = ?
and C_RateID = ?
and N_TYPE = ?
and N_ConfType = ?
受影响 rows:373 行
2015-12-03 12:37:38 [INFO] [qtp683362635-746] c.t.s.c.i.d.IDGJdbcDao - update:
update JCSZ..T_IDG
set N_VALUE = ?
where C_BusinessID = ?
and C_ComID = ?
and C_RateID = ?
and N_TYPE = ?
and N_ConfType = ?
受影响 rows:0 行
我使用 spring jdbctemplate 来更新一些行,但是我得到了这个日志 message.Two 完全相同 sql returns 不同的影响 rows.There 是不可能的第二个更新操作 returns 0 受影响 rows.I 只是想不通。
2015-12-03 12:37:37 [INFO] [qtp683362635-1187] c.t.s.c.i.d.IDGJdbcDao - update:
update JCSZ..T_IDG
set N_VALUE = ?
where C_BusinessID = ?
and C_ComID = ?
and C_RateID = ?
and N_TYPE = ?
and N_ConfType = ?
受影响 rows:373 行
2015-12-03 12:37:38 [INFO] [qtp683362635-746] c.t.s.c.i.d.IDGJdbcDao - update:
update JCSZ..T_IDG
set N_VALUE = ?
where C_BusinessID = ?
and C_ComID = ?
and C_RateID = ?
and N_TYPE = ?
and N_ConfType = ?
受影响 rows:0 行