[#6474] Added DB2 support

This commit is contained in:
lukaseder 2017-12-19 16:50:25 +01:00
parent 36354bf2cb
commit 12a9c0e696

View File

@ -37,6 +37,7 @@
*/
package org.jooq.impl;
// ...
// ...
import static org.jooq.conf.ParamType.INLINED;
import static org.jooq.impl.Keywords.K_BEGIN;
@ -106,6 +107,17 @@ final class BlockImpl extends AbstractQuery implements Block {
default: {
accept0(ctx);
break;
@ -122,8 +134,12 @@ final class BlockImpl extends AbstractQuery implements Block {
default:
ctx.formatSeparator().visit(K_NULL).sql(';');
break;
}
}
else {
@ -150,8 +166,17 @@ final class BlockImpl extends AbstractQuery implements Block {
ctx.formatIndentEnd()
.formatSeparator()
.visit(K_END)
.sql(';');
.visit(K_END);
switch (ctx.family()) {
default:
ctx.sql(';');
}
}
@Override