diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 061334e96d..cc3a59449c 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -9909,6 +9909,16 @@ public class DSL { + + + + + + + + + + diff --git a/jOOQ/src/main/java/org/jooq/impl/Goto.java b/jOOQ/src/main/java/org/jooq/impl/Goto.java new file mode 100644 index 0000000000..29ca63ab9a --- /dev/null +++ b/jOOQ/src/main/java/org/jooq/impl/Goto.java @@ -0,0 +1,68 @@ +/* + * 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; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/jOOQ/src/main/java/org/jooq/impl/Keywords.java b/jOOQ/src/main/java/org/jooq/impl/Keywords.java index fa65624eb3..d505394db8 100644 --- a/jOOQ/src/main/java/org/jooq/impl/Keywords.java +++ b/jOOQ/src/main/java/org/jooq/impl/Keywords.java @@ -149,6 +149,7 @@ final class Keywords { static final Keyword K_FROM = keyword("from"); static final Keyword K_GENERATED_BY_DEFAULT_AS_IDENTITY = keyword("generated by default as identity"); static final Keyword K_GLOBAL_TEMPORARY = keyword("global temporary"); + static final Keyword K_GOTO = keyword("goto"); static final Keyword K_GRANT = keyword("grant"); static final Keyword K_GRANT_OPTION_FOR = keyword("grant option for"); static final Keyword K_GROUP_BY = keyword("group by"); diff --git a/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java b/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java index 54819fd761..2b08499142 100644 --- a/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java @@ -2262,6 +2262,15 @@ final class ParserImpl implements Parser { + + + + + + + + + @@ -2306,6 +2315,16 @@ final class ParserImpl implements Parser { + ; + + break; + + case 'g': + case 'G': + if (peekKeyword(ctx, "GOTO") && ctx.requireProEdition()) + + + ; break; @@ -2497,6 +2516,11 @@ final class ParserImpl implements Parser { + + + + +