[#8201] Add support for EXECUTE for use in procedural blocks

This commit is contained in:
Lukas Eder 2019-05-20 11:02:35 +02:00
parent 159a2bbb26
commit 5c17db88e8
4 changed files with 87 additions and 1 deletions

View File

@ -37,7 +37,6 @@
*/
package org.jooq.impl;
// ...

View File

@ -10147,6 +10147,18 @@ public class DSL {

View File

@ -0,0 +1,74 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Other licenses:
* -----------------------------------------------------------------------------
* Commercial licenses for this work are available. These replace the above
* ASL 2.0 and offer limited warranties, support, maintenance, and commercial
* database integrations.
*
* For more information, please visit: http://www.jooq.org/licenses
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.jooq.impl;
import static org.jooq.impl.Keywords.K_EXECUTE;

View File

@ -132,6 +132,7 @@ final class Keywords {
static final Keyword K_EXCEPTION = keyword("exception");
static final Keyword K_EXCLUDE = keyword("exclude");
static final Keyword K_EXEC = keyword("exec");
static final Keyword K_EXECUTE = keyword("execute");
static final Keyword K_EXECUTE_BLOCK = keyword("execute block");
static final Keyword K_EXECUTE_IMMEDIATE = keyword("execute immediate");
static final Keyword K_EXECUTE_STATEMENT = keyword("execute statement");