code: protected static LocalDateTime getAsLocalDateTime(ResultSet rs, int index) throws SQLException {
          Timestamp timestamp = rs.getTimestamp(index);
          if (timestamp != null) {
              return timestamp.toLocalDateTime();
          }
          return null;
      }
docs: Get the column value as LocalDateTime.
  @param rs    ResultSet
  @param index column index
  @return column value
  @throws SQLException in case of extraction failure