protected static LocalDateTime getAsLocalDateTime ( ResultSet rs , int index ) throws SQLException { Timestamp timestamp = rs . getTimestamp ( index ) ; if ( timestamp != null ) { return timestamp . toLocalDateTime ( ) ; } return null ; }
Get the column value as LocalDateTime .