@Test
    public void testLombokData() {
        Handle handle = h2Extension.getSharedHandle();

        final long id1 = 1L;
        final long id2 = 2L;

        DataC id1C = new DataC();
        id1C.setId(id1);
        id1C.setAdditionalColumn("additional");

        DataB id1B = new DataB();
        id1B.setId(id1);
        id1B.setS("first");

        DataA id1A = new DataA();
        id1A.setB(id1B);
        id1A.setC(id1C);

        List<DataA> expectedById1 = Collections.singletonList(id1A);
        List<DataA> actualById1 = handle.createQuery(QUERY).bind("id", id1).map(BeanMapper.of(DataA.class)).list();
        assertThat(actualById1).containsExactlyElementsOf(expectedById1);

        DataB id2B = new DataB();
        id2B.setId(id2);
        id2B.setS("second");

        DataA id2A = new DataA();
        id2A.setB(id2B);

        List<DataA> expectedById2 = Collections.singletonList(id2A);
        List<DataA> actualById2 = handle.createQuery(QUERY).bind("id", id2).map(BeanMapper.of(DataA.class)).list();
        assertThat(actualById2).containsExactlyElementsOf(expectedById2);
    }
This is the test case to reproduce #2085. Contributed by @DudkoMatt
<p>
If you look at this class to figure out how to use JDBI with lombok, please be aware that there is a lombok.config file right next to this source file which
is needed to propagate the Nested and PropagateNull annotations onto the autogenerated classes. Without this config file, the test will fail (and so will
your code).
e2e/src/test/java/org/jdbi/v3/e2e/lombok/LombokReflectionTest.java