[jOOQ/jOOQ#9952] Implement procedural language support for Firebird

This commit is contained in:
Lukas Eder 2020-03-12 15:52:53 +01:00
parent f9735dd37a
commit 6a26b25dd2
20 changed files with 82 additions and 1 deletions

View File

@ -63,5 +63,6 @@ package org.jooq;

View File

@ -119,5 +119,6 @@ package org.jooq;

View File

@ -63,5 +63,6 @@ package org.jooq;

View File

@ -69,5 +69,6 @@ package org.jooq;

View File

@ -105,5 +105,6 @@ package org.jooq;

View File

@ -76,5 +76,6 @@ package org.jooq;

View File

@ -70,5 +70,6 @@ package org.jooq;

View File

@ -89,5 +89,6 @@ package org.jooq;

View File

@ -70,5 +70,6 @@ package org.jooq;

View File

@ -62,5 +62,6 @@ package org.jooq;

View File

@ -106,5 +106,6 @@ package org.jooq;

View File

@ -137,6 +137,10 @@ package org.jooq.impl;

View File

@ -121,7 +121,7 @@ final class BlockImpl extends AbstractRowCountQuery implements Block {
case FIREBIRD: {
if (increment(ctx.data(), DATA_BLOCK_NESTING)) {
ctx.paramType(INLINED)
.visit(K_EXECUTE_BLOCK).sql(' ').visit(K_AS).sql(' ')
.visit(K_EXECUTE_BLOCK).sql(' ').visit(K_AS)
.formatSeparator();
ctx.data(DATA_FORCE_STATIC_STATEMENT, true);
@ -285,6 +285,10 @@ final class BlockImpl extends AbstractRowCountQuery implements Block {
@ -317,6 +321,10 @@ final class BlockImpl extends AbstractRowCountQuery implements Block {
ctx.sql(';');
}
@ -324,6 +332,20 @@ final class BlockImpl extends AbstractRowCountQuery implements Block {

View File

@ -37,6 +37,13 @@
*/
package org.jooq.impl;
import static org.jooq.SQLDialect.FIREBIRD;

View File

@ -127,5 +127,6 @@ package org.jooq.impl;

View File

@ -206,6 +206,14 @@ package org.jooq.impl;

View File

@ -85,5 +85,6 @@ package org.jooq.impl;

View File

@ -291,6 +291,18 @@ package org.jooq.impl;

View File

@ -37,6 +37,17 @@
*/
package org.jooq.impl;
import static org.jooq.impl.Keywords.K_EXIT;

View File

@ -112,6 +112,10 @@ package org.jooq.impl;