Support H2database 2.x

This commit is contained in:
Rob Bygrave committed 2022-01-25 21:28:09 +13:00
1 parent 8d29a3a575
commit a9dbc036e9
12 files changed
+30 -13

No files matched your search

@@ -47,6 +47,14 @@ public class ScalarTypeLocalDateTest {
assertTrue(o instanceof Date);
}
@Test
public void olderDates_ToFromJdbcType() {
LocalDate localDate = LocalDate.of(1850,12,1);
Object o = type.toJdbcType(localDate);
LocalDate localDate1 = type.toBeanType(o);
assertThat(localDate1).isEqualTo(localDate);
}
@Test
public void testToBeanType() {