public <T> T findUnique(@NotNull Class<T> cl, @NotNull @SQL String sql, Object... args) {
return findUnique(cl, SqlQuery.query(sql, args));
}
@NotNull
public <T> Optional<T> findOptional(@NotNull RowMapper<T> rowMapper, @NotNull SqlQuery query) {
<BUG>return executeQuery(new OptionalResultSetProcessor<>(new ListWithRowMapperResultSetProcessor<>(rowMapper)), query);
}</BUG>
@NotNull
public <T> Optional<T> findOptional(@NotNull RowMapper<T> rowMapper, @NotNull @SQL String sql, Object... args) {
return findOptional(rowMapper, SqlQuery.query(sql, args));

public <T> T findUnique(@NotNull Class<T> cl, @NotNull @SQL String sql, Object... args) {
return findUnique(cl, SqlQuery.query(sql, args));
}
@NotNull
public <T> Optional<T> findOptional(@NotNull RowMapper<T> rowMapper, @NotNull SqlQuery query) {
return executeQuery(rowMapper.optional(), query);
}
@NotNull
public <T> Optional<T> findOptional(@NotNull RowMapper<T> rowMapper, @NotNull @SQL String sql, Object... args) {
return findOptional(rowMapper, SqlQuery.query(sql, args));
