private static <T> T getNullableFrom(ResultSet rs, SqlFunction<ResultSet, T> mapper) throws SQLException {
        final T result = mapper.apply(rs);
        return rs.wasNull() ? null : result;
    }
Utility methods for retrieving nullable and special values from
{@code ResultSet}.

@author Emil Forslund
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/util/ResultSetUtil.java