[#1520] Handle Ingres', SQLite, SQL Server's, Sybase ASE's limitations

of 1024, 999, 2100 or 2000 maximum bind values per query
This commit is contained in:
Lukas Eder 2013-04-28 16:39:31 +02:00
parent 7022813865
commit c3c87ee6c7
2 changed files with 3 additions and 1 deletions

View File

@ -257,6 +257,7 @@ public abstract class AbstractRoutine<T> extends AbstractQueryPart implements Ro
Connection connection = ctx.connection();
listener.renderStart(ctx);
// [#1520] TODO: Should the number of bind values be checked, here?
ctx.sql(create(configuration).render(this));
listener.renderEnd(ctx);
@ -653,7 +654,7 @@ public abstract class AbstractRoutine<T> extends AbstractQueryPart implements Ro
}
// [#2393] Fully qualify custom aggregate functions.
// TODO: Merge this code into RoutineField!
// TODO: Merge this code into RoutineField!
List<String> names = new ArrayList<String>();
if (schema != null) {
names.add(schema.getName());

View File

@ -120,6 +120,7 @@ class BatchSingle implements BatchBindStep {
try {
listener.renderStart(ctx);
// [#1520] TODO: Should the number of bind values be checked, here?
ctx.sql(create.render(query));
listener.renderEnd(ctx);