@Override
            public void logBeforeExecution(StatementContext ctx) {
                String name = logNext.get();
                if (name != null) {
                    String toString = ctx.getBinding()
                        .findForName(name, ctx)
                        .orElseThrow(AssertionError::new)
                        .toString();
                    insertedTimestamp.set(OffsetDateTime.parse(toString));
                    logNext.set(null);
                }
            }
Tests for the {@link Timestamped} annotation
sqlobject/src/test/java/org/jdbi/v3/sqlobject/customizer/internal/TestTimestamped.java