public <T> T executeQuery(@NotNull ResultSetProcessor<T> processor, @NotNull @SQL String sql, Object... args) {
return executeQuery(processor, SqlQuery.query(sql, args));
}
@NotNull
public <T> List<T> findAll(@NotNull RowMapper<T> rowMapper, @NotNull SqlQuery query) {
<BUG>return executeQuery(new ListWithRowMapperResultSetProcessor<>(rowMapper), query);
}</BUG>
@NotNull
public <T> List<T> findAll(@NotNull RowMapper<T> rowMapper, @NotNull @SQL String sql, Object... args) {
return findAll(rowMapper, SqlQuery.query(sql, args));

public <T> T executeQuery(@NotNull ResultSetProcessor<T> processor, @NotNull @SQL String sql, Object... args) {
return executeQuery(processor, SqlQuery.query(sql, args));
}
@NotNull
public <T> List<T> findAll(@NotNull RowMapper<T> rowMapper, @NotNull SqlQuery query) {
return executeQuery(rowMapper.list(), query);
}
@NotNull
public <T> List<T> findAll(@NotNull RowMapper<T> rowMapper, @NotNull @SQL String sql, Object... args) {
return findAll(rowMapper, SqlQuery.query(sql, args));
