@Override
    public DateTime map(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException {
        Timestamp ts = r.getTimestamp(columnNumber);
        return ts == null ? null : new DateTime(ts.getTime());
    }
Map a {@link Timestamp} to a {@link DateTime}.
jodatime2/src/main/java/org/jdbi/v3/jodatime2/DateTimeMapper.java