Skip to content

Commit

Permalink
need to set java.sql.Types along with null (some drivers are picky), …
Browse files Browse the repository at this point in the history
…or just use something that's not null here, like "I"
  • Loading branch information
erilong committed Jan 10, 2008
1 parent 1d79b1d commit 0c7d368
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -175,7 +175,7 @@ protected void testSyncInsertCondition() throws ParseException {

@SuppressWarnings("unchecked")
protected void testSyncUpdateCondition() {
rootJdbcTemplate.update(updateOrderHeaderStatusSql, new Object[] { null, "1" });
rootJdbcTemplate.update(updateOrderHeaderStatusSql, new Object[] { "I", "1" });
getClientEngine().pull();
Assert.assertEquals(clientJdbcTemplate.queryForList(selectOrderHeaderSql, new Object[] { "1" }).size(), 0,
"The order record was sync'd when it should not have been.");
Expand Down

0 comments on commit 0c7d368

Please sign in to comment.