diff --git a/jOOQ-examples/jOOQ-academy/pom.xml b/jOOQ-examples/jOOQ-academy/pom.xml
index f67387dda6..f7eec1a5cd 100644
--- a/jOOQ-examples/jOOQ-academy/pom.xml
+++ b/jOOQ-examples/jOOQ-academy/pom.xml
@@ -83,12 +83,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-examples/jOOQ-checker-framework-example/pom.xml b/jOOQ-examples/jOOQ-checker-framework-example/pom.xml
index 61ccff8cf6..297b36be7a 100644
--- a/jOOQ-examples/jOOQ-checker-framework-example/pom.xml
+++ b/jOOQ-examples/jOOQ-checker-framework-example/pom.xml
@@ -63,8 +63,8 @@
maven-compiler-plugin
3.8.0
- 1.8
- 1.8
+ 11
+ 11
true
org.jooq.checker.SQLDialectChecker
@@ -89,8 +89,8 @@
javac-with-errorprone
true
false
- 1.8
- 1.8
+ 11
+ 11
org.jooq
diff --git a/jOOQ-examples/jOOQ-javaee-example/pom.xml b/jOOQ-examples/jOOQ-javaee-example/pom.xml
index 28076f903c..2fef3226b5 100644
--- a/jOOQ-examples/jOOQ-javaee-example/pom.xml
+++ b/jOOQ-examples/jOOQ-javaee-example/pom.xml
@@ -126,12 +126,12 @@
maven-compiler-plugin
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
diff --git a/jOOQ-examples/jOOQ-javafx-example/pom.xml b/jOOQ-examples/jOOQ-javafx-example/pom.xml
index d69af39dfa..cf9b759944 100644
--- a/jOOQ-examples/jOOQ-javafx-example/pom.xml
+++ b/jOOQ-examples/jOOQ-javafx-example/pom.xml
@@ -87,12 +87,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-examples/jOOQ-jpa-example-entities/pom.xml b/jOOQ-examples/jOOQ-jpa-example-entities/pom.xml
index 73d097562c..a6f794f30c 100644
--- a/jOOQ-examples/jOOQ-jpa-example-entities/pom.xml
+++ b/jOOQ-examples/jOOQ-jpa-example-entities/pom.xml
@@ -41,12 +41,12 @@
maven-compiler-plugin
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
diff --git a/jOOQ-examples/jOOQ-jpa-example/pom.xml b/jOOQ-examples/jOOQ-jpa-example/pom.xml
index ca2a4d0479..217afb8d00 100644
--- a/jOOQ-examples/jOOQ-jpa-example/pom.xml
+++ b/jOOQ-examples/jOOQ-jpa-example/pom.xml
@@ -96,12 +96,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-examples/jOOQ-kotlin-example/pom.xml b/jOOQ-examples/jOOQ-kotlin-example/pom.xml
index 0206f6333f..09b31194c7 100644
--- a/jOOQ-examples/jOOQ-kotlin-example/pom.xml
+++ b/jOOQ-examples/jOOQ-kotlin-example/pom.xml
@@ -185,12 +185,12 @@
maven-compiler-plugin
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
diff --git a/jOOQ-examples/jOOQ-oracle-example/pom.xml b/jOOQ-examples/jOOQ-oracle-example/pom.xml
index a465722831..e8f445024f 100644
--- a/jOOQ-examples/jOOQ-oracle-example/pom.xml
+++ b/jOOQ-examples/jOOQ-oracle-example/pom.xml
@@ -65,12 +65,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-examples/jOOQ-spark-chart-example/pom.xml b/jOOQ-examples/jOOQ-spark-chart-example/pom.xml
index dad82237cc..ea490daee8 100644
--- a/jOOQ-examples/jOOQ-spark-chart-example/pom.xml
+++ b/jOOQ-examples/jOOQ-spark-chart-example/pom.xml
@@ -41,12 +41,12 @@
maven-compiler-plugin
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
diff --git a/jOOQ-examples/jOOQ-spark-example/pom.xml b/jOOQ-examples/jOOQ-spark-example/pom.xml
index 86d072572b..b34305abe5 100644
--- a/jOOQ-examples/jOOQ-spark-example/pom.xml
+++ b/jOOQ-examples/jOOQ-spark-example/pom.xml
@@ -92,12 +92,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-examples/jOOQ-spring-example/pom.xml b/jOOQ-examples/jOOQ-spring-example/pom.xml
index 3dfdf9036b..874d8b9437 100644
--- a/jOOQ-examples/jOOQ-spring-example/pom.xml
+++ b/jOOQ-examples/jOOQ-spring-example/pom.xml
@@ -97,12 +97,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-examples/jOOQ-spring-guice-example/pom.xml b/jOOQ-examples/jOOQ-spring-guice-example/pom.xml
index f903b5029a..8b872cc0d6 100644
--- a/jOOQ-examples/jOOQ-spring-guice-example/pom.xml
+++ b/jOOQ-examples/jOOQ-spring-guice-example/pom.xml
@@ -85,12 +85,12 @@
256m
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
true
lines,vars,source
diff --git a/jOOQ-xtend/pom.xml b/jOOQ-xtend/pom.xml
index c9ad0875e2..84a5a47c3b 100644
--- a/jOOQ-xtend/pom.xml
+++ b/jOOQ-xtend/pom.xml
@@ -46,12 +46,12 @@
UTF-8
-
+ 11
- 1.8
- 1.8
+ 11
+ 11
diff --git a/jOOQ/src/main/java/module-info.java b/jOOQ/src/main/java/module-info.java
new file mode 100644
index 0000000000..4ba12d59b0
--- /dev/null
+++ b/jOOQ/src/main/java/module-info.java
@@ -0,0 +1,93 @@
+/**
+ * The jOOQ runtime module.
+ */
+module org.jooq {
+
+ // jOOQ heavily depends on JDBC and cannot work without it
+ requires transitive java.sql;
+
+ // JAXB is used optionally for loading a variety of XML content, including
+ // - Settings (org.jooq.conf)
+ // - InformationSchema (org.jooq.util.xml.jaxb)
+ requires static java.xml.bind;
+
+ // The DefaultRecordMapper makes use of JavaBeans utilities, including:
+ // - Support for ConstructorProperties
+ requires static java.desktop;
+
+ // Various utilities can make use of JPA annotations, when present, including:
+ // - The DefaultRecordMapper
+ // - The JPADatabase in the code generator
+ // - The EntityManagerConnectionProvider
+ requires static java.persistence;
+
+ // The runtime Java compiler is used to generate enum types on the fly.
+ // This dependency may be removed in the future.
+ requires static java.compiler;
+
+ // Optional logging APIs - slf4j will be preferred if found
+ requires static org.slf4j;
+ requires static java.logging;
+
+ // Nullability annotations for better Kotlin interop
+ requires static org.jetbrains.annotations;
+
+ requires transitive org.reactivestreams;
+ requires transitive r2dbc.spi;
+
+
+
+
+
+
+
+ requires static org.postgresql.jdbc;
+
+ exports org.jooq;
+ exports org.jooq.conf;
+ exports org.jooq.exception;
+ exports org.jooq.impl;
+ exports org.jooq.migrations.xml.jaxb;
+ exports org.jooq.tools;
+ exports org.jooq.tools.csv;
+ exports org.jooq.tools.jdbc;
+ exports org.jooq.tools.json;
+ exports org.jooq.tools.reflect;
+ exports org.jooq.types;
+ exports org.jooq.util.jaxb.tools;
+ exports org.jooq.util.xml.jaxb;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ exports org.jooq.util.cubrid;
+ exports org.jooq.util.derby;
+ exports org.jooq.util.firebird;
+ exports org.jooq.util.h2;
+ exports org.jooq.util.hsqldb;
+ exports org.jooq.util.ignite;
+ exports org.jooq.util.mariadb;
+ exports org.jooq.util.mysql;
+ exports org.jooq.util.postgres;
+ exports org.jooq.util.sqlite;
+}
diff --git a/jOOQ/src/main/java/org/jooq/AlterDatabaseFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterDatabaseFinalStep.java
index b2373203de..c11b7cccd8 100644
--- a/jOOQ/src/main/java/org/jooq/AlterDatabaseFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterDatabaseFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterDatabaseFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterDomainFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterDomainFinalStep.java
index d9df87b3a1..698cc0ba1e 100644
--- a/jOOQ/src/main/java/org/jooq/AlterDomainFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterDomainFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterDomainFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterIndexFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterIndexFinalStep.java
index e45f63ba85..d5e211f7e3 100644
--- a/jOOQ/src/main/java/org/jooq/AlterIndexFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterIndexFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterIndexFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterSchemaFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterSchemaFinalStep.java
index 23c6d8cdcd..9205cc2fcd 100644
--- a/jOOQ/src/main/java/org/jooq/AlterSchemaFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterSchemaFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterSchemaFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterSequenceFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterSequenceFinalStep.java
index 78d01b8c31..1d61b57b25 100644
--- a/jOOQ/src/main/java/org/jooq/AlterSequenceFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterSequenceFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterSequenceFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterTableFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterTableFinalStep.java
index baa017e71e..52e96d6814 100644
--- a/jOOQ/src/main/java/org/jooq/AlterTableFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterTableFinalStep.java
@@ -63,7 +63,7 @@ package org.jooq;
* @deprecated - [#11329] - 3.15.0 - This type will be removed in the future. Do not reference it directly
* @author Lukas Eder
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterTableFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterTypeFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterTypeFinalStep.java
index 644caa5143..22965d6f55 100644
--- a/jOOQ/src/main/java/org/jooq/AlterTypeFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterTypeFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterTypeFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/AlterViewFinalStep.java b/jOOQ/src/main/java/org/jooq/AlterViewFinalStep.java
index 178a79e242..0f2b6e33d7 100644
--- a/jOOQ/src/main/java/org/jooq/AlterViewFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/AlterViewFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface AlterViewFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/Clause.java b/jOOQ/src/main/java/org/jooq/Clause.java
index f53564c9bf..a0137cb4df 100644
--- a/jOOQ/src/main/java/org/jooq/Clause.java
+++ b/jOOQ/src/main/java/org/jooq/Clause.java
@@ -51,7 +51,7 @@ package org.jooq;
* kept in one way or another: https://github.com/jOOQ/jOOQ/issues/7258
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.11")
public enum Clause {
// -------------------------------------------------------------------------
diff --git a/jOOQ/src/main/java/org/jooq/CommentOnFinalStep.java b/jOOQ/src/main/java/org/jooq/CommentOnFinalStep.java
index 764a0b28a1..578a16953c 100644
--- a/jOOQ/src/main/java/org/jooq/CommentOnFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CommentOnFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CommentOnFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/Comparator.java b/jOOQ/src/main/java/org/jooq/Comparator.java
index 6ca11eaac4..a9bf925672 100644
--- a/jOOQ/src/main/java/org/jooq/Comparator.java
+++ b/jOOQ/src/main/java/org/jooq/Comparator.java
@@ -209,7 +209,7 @@ public enum Comparator {
*
* @deprecated - 3.14.0 - [#9911] - This method is no longer supported.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
public final boolean supportsNulls() {
return supportsNulls;
}
@@ -219,7 +219,7 @@ public enum Comparator {
*
* @deprecated - 3.14.0 - [#9911] - This method is no longer supported.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
public boolean supportsQuantifier() {
return supportsQuantifier;
}
@@ -229,7 +229,7 @@ public enum Comparator {
*
* @deprecated - 3.14.0 - [#9911] - This method is no longer supported.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
public boolean supportsSubselect() {
return supportsSubselect;
}
diff --git a/jOOQ/src/main/java/org/jooq/ConditionProvider.java b/jOOQ/src/main/java/org/jooq/ConditionProvider.java
index 2bb2ed8633..ebe1b69ce4 100644
--- a/jOOQ/src/main/java/org/jooq/ConditionProvider.java
+++ b/jOOQ/src/main/java/org/jooq/ConditionProvider.java
@@ -48,7 +48,7 @@ import java.util.Collection;
* soon. Its methods will be pushed down into extending interfaces.
* Do not reference this type directly.
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "2.6")
public interface ConditionProvider {
/**
diff --git a/jOOQ/src/main/java/org/jooq/Configuration.java b/jOOQ/src/main/java/org/jooq/Configuration.java
index 3ded614eea..0e815cade8 100644
--- a/jOOQ/src/main/java/org/jooq/Configuration.java
+++ b/jOOQ/src/main/java/org/jooq/Configuration.java
@@ -561,7 +561,7 @@ public interface Configuration extends Serializable {
* @deprecated - 2.0.5 - Use {@link #settings()} instead
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "2.0")
SchemaMapping schemaMapping();
/**
diff --git a/jOOQ/src/main/java/org/jooq/ConstraintFinalStep.java b/jOOQ/src/main/java/org/jooq/ConstraintFinalStep.java
index 3b5aa8b813..ae2ed9af83 100644
--- a/jOOQ/src/main/java/org/jooq/ConstraintFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/ConstraintFinalStep.java
@@ -62,7 +62,7 @@ package org.jooq;
* @deprecated - [#11329] - 3.15.0 - This type will be removed in the future. Do not reference it directly
* @author Lukas Eder
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface ConstraintFinalStep extends Constraint {
}
diff --git a/jOOQ/src/main/java/org/jooq/Context.java b/jOOQ/src/main/java/org/jooq/Context.java
index 532513647d..fa68ae3de9 100644
--- a/jOOQ/src/main/java/org/jooq/Context.java
+++ b/jOOQ/src/main/java/org/jooq/Context.java
@@ -414,7 +414,7 @@ public interface Context> extends Scope {
* @deprecated - 3.10.0 - [#4990] - Use {@link DSL#keyword(String)} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
C keyword(String keyword);
/**
@@ -593,7 +593,7 @@ public interface Context> extends Scope {
* @deprecated - [#10317] - 3.14.0 - Do not reuse this method. It will be
* removed without replacement.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull
C formatIndentLockStart();
@@ -621,7 +621,7 @@ public interface Context> extends Scope {
* @deprecated - [#10317] - 3.14.0 - Do not reuse this method. It will be
* removed without replacement.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull
C formatIndentLockEnd();
@@ -647,7 +647,7 @@ public interface Context> extends Scope {
* {@link DSL#unquotedName(String)} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
C literal(String literal);
/**
diff --git a/jOOQ/src/main/java/org/jooq/Converters.java b/jOOQ/src/main/java/org/jooq/Converters.java
index a97d99308b..da6df6fa29 100644
--- a/jOOQ/src/main/java/org/jooq/Converters.java
+++ b/jOOQ/src/main/java/org/jooq/Converters.java
@@ -77,7 +77,7 @@ public class Converters extends AbstractConverter {
* @deprecated - [#10689] - 3.14.0 - This converter does not work. Do not
* use this method, use {@link #identity(Class)} instead.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull
public static Converter of() {
return new Converters();
@@ -89,7 +89,7 @@ public class Converters extends AbstractConverter {
* @deprecated - [#10689] - 3.14.0 - This method does not provide any useful
* functionality and will be removed in the future.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull
public static Converter of(Converter converter) {
return new Converters(converter);
diff --git a/jOOQ/src/main/java/org/jooq/CreateDatabaseFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateDatabaseFinalStep.java
index 9ec3058d13..c565643b41 100644
--- a/jOOQ/src/main/java/org/jooq/CreateDatabaseFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateDatabaseFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateDatabaseFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateDomainFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateDomainFinalStep.java
index a676166ebd..7c08acc671 100644
--- a/jOOQ/src/main/java/org/jooq/CreateDomainFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateDomainFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateDomainFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateIndexFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateIndexFinalStep.java
index edf53f761a..fc56cb5ba3 100644
--- a/jOOQ/src/main/java/org/jooq/CreateIndexFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateIndexFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateIndexFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateSchemaFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateSchemaFinalStep.java
index ddb8fc8bb6..4238ca994a 100644
--- a/jOOQ/src/main/java/org/jooq/CreateSchemaFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateSchemaFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateSchemaFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateSequenceFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateSequenceFinalStep.java
index cfa05e9624..1706f824da 100644
--- a/jOOQ/src/main/java/org/jooq/CreateSequenceFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateSequenceFinalStep.java
@@ -67,6 +67,6 @@ import org.jetbrains.annotations.*;
*
*/
@SuppressWarnings({ "unused" })
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateSequenceFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateTableFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateTableFinalStep.java
index 29c375c795..e16b1586d9 100644
--- a/jOOQ/src/main/java/org/jooq/CreateTableFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateTableFinalStep.java
@@ -62,7 +62,7 @@ package org.jooq;
* @deprecated - [#11329] - 3.15.0 - This type will be removed in the future. Do not reference it directly
* @author Lukas Eder
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateTableFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateTypeFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateTypeFinalStep.java
index ac1f6eac91..f8f3c30ecb 100644
--- a/jOOQ/src/main/java/org/jooq/CreateTypeFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateTypeFinalStep.java
@@ -62,7 +62,7 @@ package org.jooq;
* @deprecated - [#11329] - 3.15.0 - This type will be removed in the future. Do not reference it directly
* @author Lukas Eder
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateTypeFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/CreateViewFinalStep.java b/jOOQ/src/main/java/org/jooq/CreateViewFinalStep.java
index 85580a9a96..13ede2a906 100644
--- a/jOOQ/src/main/java/org/jooq/CreateViewFinalStep.java
+++ b/jOOQ/src/main/java/org/jooq/CreateViewFinalStep.java
@@ -62,7 +62,7 @@ package org.jooq;
* @deprecated - [#11329] - 3.15.0 - This type will be removed in the future. Do not reference it directly
* @author Lukas Eder
*/
-@Deprecated
+@Deprecated(forRemoval = true, since = "3.15")
public interface CreateViewFinalStep extends DDLQuery {
}
diff --git a/jOOQ/src/main/java/org/jooq/Cursor.java b/jOOQ/src/main/java/org/jooq/Cursor.java
index 2a2246187a..c31608c68f 100644
--- a/jOOQ/src/main/java/org/jooq/Cursor.java
+++ b/jOOQ/src/main/java/org/jooq/Cursor.java
@@ -115,7 +115,7 @@ public interface Cursor extends Fields, Iterable, Formattab
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNext(int)} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
Result fetch(int number) throws DataAccessException;
/**
@@ -150,7 +150,7 @@ public interface Cursor extends Fields, Iterable, Formattab
* @deprecated - 3.15.0 - [#11902] - Use {@link Iterable#forEach(Consumer)}
* based methods, instead.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.15")
@NotNull
> H fetchInto(H handler) throws DataAccessException;
@@ -207,7 +207,7 @@ public interface Cursor extends Fields, Iterable, Formattab
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNext()} instead.
*/
@Nullable
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
R fetchOne() throws DataAccessException;
/**
@@ -216,21 +216,21 @@ public interface Cursor extends Fields, Iterable, Formattab
* based methods, instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
> H fetchOneInto(H handler) throws DataAccessException;
/**
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNext(RecordMapper)} instead.
*/
@Nullable
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
E fetchOne(RecordMapper super R, E> mapper) throws DataAccessException;
/**
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNextInto(Table)} instead.
*/
@Nullable
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
Z fetchOneInto(Table table) throws DataAccessException, MappingException;
/**
@@ -266,7 +266,7 @@ public interface Cursor extends Fields, Iterable, Formattab
* @deprecated - 3.15.0 - [#11902] - Use {@link Iterable#forEach(Consumer)}
* based methods, instead.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.15")
@NotNull
> H fetchNextInto(H handler) throws DataAccessException;
@@ -274,7 +274,7 @@ public interface Cursor extends Fields, Iterable, Formattab
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNextInto(Class)} instead.
*/
@Nullable
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
E fetchOneInto(Class extends E> type) throws DataAccessException, MappingException;
/**
@@ -333,28 +333,28 @@ public interface Cursor extends Fields, Iterable, Formattab
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNextOptional()} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
Optional fetchOptional() throws DataAccessException;
/**
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNextOptionalInto(Class)} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
Optional fetchOptionalInto(Class extends E> type) throws DataAccessException, MappingException;
/**
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNextOptional(RecordMapper)} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
Optional fetchOptional(RecordMapper super R, E> mapper) throws DataAccessException;
/**
* @deprecated - 3.10 - [#6363] - Use {@link #fetchNextOptionalInto(Table)} instead.
*/
@NotNull
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
Optional fetchOptionalInto(Table table) throws DataAccessException, MappingException;
/**
diff --git a/jOOQ/src/main/java/org/jooq/DSLContext.java b/jOOQ/src/main/java/org/jooq/DSLContext.java
index c5b5ae08f2..75e49c623a 100644
--- a/jOOQ/src/main/java/org/jooq/DSLContext.java
+++ b/jOOQ/src/main/java/org/jooq/DSLContext.java
@@ -708,7 +708,7 @@ public interface DSLContext extends Scope {
* @deprecated - [#6280] - 3.10 - Do not reuse this method. It will be
* completely internal with jOOQ 4.0
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
@Internal
@NotNull
RenderContext renderContext();
@@ -820,7 +820,7 @@ public interface DSLContext extends Scope {
* @deprecated - [#6280] - 3.10 - Do not reuse this method. It will be
* completely internal with jOOQ 4.0
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.10")
@Internal
@NotNull
BindContext bindContext(PreparedStatement stmt);
@@ -4163,7 +4163,7 @@ public interface DSLContext extends Scope {
* that would not be possible otherwise - yet they add
* complexity in jOOQ's internals.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ FIREBIRD, H2, HSQLDB, IGNITE, MARIADB, MYSQL, POSTGRES, SQLITE })
WithAsStep with(String alias, Function super Field>, ? extends String> fieldNameFunction);
@@ -4190,7 +4190,7 @@ public interface DSLContext extends Scope {
* that would not be possible otherwise - yet they add
* complexity in jOOQ's internals.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ FIREBIRD, H2, HSQLDB, IGNITE, MARIADB, MYSQL, POSTGRES, SQLITE })
WithAsStep with(String alias, BiFunction super Field>, ? super Integer, ? extends String> fieldNameFunction);
@@ -5122,7 +5122,7 @@ public interface DSLContext extends Scope {
* that would not be possible otherwise - yet they add
* complexity in jOOQ's internals.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
WithAsStep withRecursive(String alias, Function super Field>, ? extends String> fieldNameFunction);
@@ -5150,7 +5150,7 @@ public interface DSLContext extends Scope {
* that would not be possible otherwise - yet they add
* complexity in jOOQ's internals.
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ FIREBIRD, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE })
WithAsStep withRecursive(String alias, BiFunction super Field>, ? super Integer, ? extends String> fieldNameFunction);
@@ -8246,7 +8246,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep1 mergeInto(Table table, Field field1);
@@ -8258,7 +8258,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep2 mergeInto(Table table, Field field1, Field field2);
@@ -8270,7 +8270,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep3 mergeInto(Table table, Field field1, Field field2, Field field3);
@@ -8282,7 +8282,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep4 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4);
@@ -8294,7 +8294,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep5 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5);
@@ -8306,7 +8306,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep6 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6);
@@ -8318,7 +8318,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep7 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7);
@@ -8330,7 +8330,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep8 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8);
@@ -8342,7 +8342,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep9 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9);
@@ -8354,7 +8354,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep10 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10);
@@ -8366,7 +8366,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep11 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11);
@@ -8378,7 +8378,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep12 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12);
@@ -8390,7 +8390,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep13 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13);
@@ -8402,7 +8402,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep14 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14);
@@ -8414,7 +8414,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep15 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15);
@@ -8426,7 +8426,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep16 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16);
@@ -8438,7 +8438,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep17 mergeInto(Table table, Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16, Field field17);
@@ -8450,7 +8450,7 @@ public interface DSLContext extends Scope {
* @see #mergeInto(Table, Field...)
* @deprecated - [#10045] - 3.14.0 - Use the standard SQL MERGE API instead, via {@link #mergeInto(Table)}
*/
- @Deprecated
+ @Deprecated(forRemoval = true, since = "3.14")
@NotNull @CheckReturnValue
@Support({ CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES })
MergeKeyStep18 mergeInto(Table