Skip to content

Commit

Permalink
#491 Incorrect conversion of TIME to java.sql.Time in JTDS driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Polevoy committed Apr 24, 2016
1 parent 9eb2b96 commit 1933b45
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -517,8 +517,7 @@ public void shouldGenerateValidUpdateSQLWithTime() {
the(Base.exec(updateSql)).shouldBeEqual(1);

alarm = Alarm.findById(alarm.getId());
System.out.println("ALARM: " + alarm.get("alarm_time").getClass() + " " + alarm.get("alarm_time"));
the(alarm.getTime("alarm_time").toString()).shouldBeEqual(t);
the(alarm.getString("alarm_time").startsWith(t)).shouldBeTrue();
}

@Test(expected = NoSuchElementException.class)
Expand Down

0 comments on commit 1933b45

Please sign in to comment.