void appendConcatenatedCompilables(List<? extends CompilableWithArguments> compilables, String separator, boolean forSqlValidation) { if (compilables != null && !compilables.isEmpty()) { boolean needSeparator = false; for (CompilableWithArguments compilable : compilables) { if (needSeparator) { sql.append(separator); } needSeparator = true; compilable.appendToSqlBuilder(this, forSqlValidation); } } }
protected final SqlBuilder buildSql(CompileContext compileContext, boolean withBoundArguments, boolean forSqlValidation) { SqlBuilder builder = new SqlBuilder(compileContext, withBoundArguments); appendToSqlBuilder(builder, forSqlValidation); return builder; }
sql.append(")"); } else if (value instanceof CompilableWithArguments) { ((CompilableWithArguments) value).appendToSqlBuilder(this, forSqlValidation); } else if (value instanceof Collection<?>) { addCollectionArg((Collection<?>) value);
void appendConcatenatedCompilables(List<? extends CompilableWithArguments> compilables, String separator, boolean forSqlValidation) { if (compilables != null && !compilables.isEmpty()) { boolean needSeparator = false; for (CompilableWithArguments compilable : compilables) { if (needSeparator) { sql.append(separator); } needSeparator = true; compilable.appendToSqlBuilder(this, forSqlValidation); } } }
protected final SqlBuilder buildSql(CompileContext compileContext, boolean withBoundArguments, boolean forSqlValidation) { SqlBuilder builder = new SqlBuilder(compileContext, withBoundArguments); appendToSqlBuilder(builder, forSqlValidation); return builder; }
sql.append(")"); } else if (value instanceof CompilableWithArguments) { ((CompilableWithArguments) value).appendToSqlBuilder(this, forSqlValidation); } else if (value instanceof Collection<?>) { addCollectionArg((Collection<?>) value);