@Test
    public void testBindTimestamp() {
        LocalDate date = LocalDate.of(2001, 2, 1);
        long id = dao.insert(date);

        Timestamp inserted = dao.findByIdAsTimestamp(id);
        assertThat(inserted).isEqualTo(Timestamp.valueOf(date.atStartOfDay()));
    }
Check that inserting a LocalDate value into a timestamp column and
selecting it back yields the inserted date at the start of the day.
In other words, verify that clients relying on the old behavior
of inserting LocalDate as TIMESTAMP aren't broken by the move
to binding LocalDate as DATE.
sqlobject/src/test/java/org/jdbi/v3/sqlobject/TestBindLocalDate.java