[#7375] Deprecate <SQLDialect>DataType classes
This commit is contained in:
parent
f6a22f9427
commit
dfdea8c3b0
@ -96,6 +96,7 @@ import org.jooq.util.sqlite.SQLiteDataType;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public final class SQLDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
@ -579,7 +580,7 @@ public final class SQLDataType {
|
||||
|
||||
static {
|
||||
// Load all dialect-specific data types
|
||||
// TODO [#650] Make this more reliable using a data type registry
|
||||
// TODO [#5713] Make this more reliable using a data type registry
|
||||
|
||||
try {
|
||||
|
||||
|
||||
@ -58,7 +58,14 @@ import org.jooq.types.UShort;
|
||||
* Supported data types for the {@link SQLDialect#CUBRID} dialect
|
||||
*
|
||||
* @author Lukas Eder
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class CUBRIDDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -59,7 +59,14 @@ import org.jooq.types.UShort;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://db.apache.org/derby/docs/10.7/ref/crefsqlj31068.html">http://db.apache.org/derby/docs/10.7/ref/crefsqlj31068.html</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DerbyDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -60,7 +60,14 @@ import org.jooq.types.YearToMonth;
|
||||
* Supported data types for the {@link SQLDialect#FIREBIRD} dialect
|
||||
*
|
||||
* @author Lukas Eder
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class FirebirdDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -61,7 +61,14 @@ import org.jooq.types.UShort;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://www.h2database.com/html/datatypes.html">http://www.h2database.com/html/datatypes.html</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class H2DataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -64,7 +64,14 @@ import org.jooq.types.YearToMonth;
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://hsqldb.org/doc/guide/ch09.html#datatypes-section">http://hsqldb.org/doc/guide/ch09.html#datatypes-section</a>
|
||||
* @see <a href="http://hsqldb.org/doc/2.0/guide/sqlgeneral-chapt.html#sqlgeneral_types_ops-sect">http://hsqldb.org/doc/2.0/guide/sqlgeneral-chapt.html#sqlgeneral_types_ops-sect</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class HSQLDBDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -60,7 +60,14 @@ import org.jooq.types.UShort;
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://dev.mysql.com/doc/refman/5.5/en/data-types.html">http://dev.mysql.com/doc/refman/5.5/en/data-types.html</a>
|
||||
* @see <a href="http://dev.mysql.com/doc/refman/5.5/en/cast-functions.html#function_cast">http://dev.mysql.com/doc/refman/5.5/en/cast-functions.html#function_cast</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MariaDBDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -60,7 +60,14 @@ import org.jooq.types.UShort;
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://dev.mysql.com/doc/refman/5.5/en/data-types.html">http://dev.mysql.com/doc/refman/5.5/en/data-types.html</a>
|
||||
* @see <a href="http://dev.mysql.com/doc/refman/5.5/en/cast-functions.html#function_cast">http://dev.mysql.com/doc/refman/5.5/en/cast-functions.html#function_cast</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MySQLDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -65,7 +65,14 @@ import org.jooq.types.YearToMonth;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://www.postgresql.org/docs/9.0/interactive/datatype.html">http://www.postgresql.org/docs/9.0/interactive/datatype.html</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class PostgresDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@ -58,7 +58,14 @@ import org.jooq.types.UShort;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
* @see <a href="http://www.sqlite.org/datatype3.html">http://www.sqlite.org/datatype3.html</a>
|
||||
* @deprecated - 3.11.0 - [#7375] - This type is part of jOOQ's internal API. Do
|
||||
* not reference this type directly from client code. Referencing
|
||||
* this type before the {@link SQLDataType} class has been
|
||||
* initialised may lead to deadlocks! See <a href=
|
||||
* "https://github.com/jOOQ/jOOQ/issues/3777">https://github.com/jOOQ/jOOQ/issues/3777</a>
|
||||
* for details.
|
||||
*/
|
||||
@Deprecated
|
||||
public class SQLiteDataType {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user