@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Documented @Inherited public @interface Support
SQLDialect
The annotation is mainly used in three modes:
SQLDialect
is irrelevant for that method. This is mostly the
case for jOOQ's general API (creating factories, rendering SQL, binding
variables, etc.) as well as utility methods.SQLDialect
. This means that all of jOOQ's dialects are supported
by this API method. This is typically the case with jOOQ's SQL construction
API for very common clauses, such as the creation of SELECT
,
UPDATE
, INSERT
, DELETE
.MERGE
, etc.
There listed dialects can be either a:
SQLDialect.POSTGRES
is referenced, then
SQLDialect.POSTGRES_9_3
, SQLDialect.POSTGRES_9_4
, etc.
support the feature as wellSQLDialect.POSTGRES_9_4
is referenced, then
SQLDialect.POSTGRES_9_5
would support the feature as well, but not
SQLDialect.POSTGRES_9_3
Future versions of jOOQ may use these annotations for throwing
SQLDialectNotSupportedException
where appropriate, or preprocessing
jOOQ source code in order to mark unsupported API as Deprecated
Modifier and Type | Optional Element and Description |
---|---|
SQLDialect[] |
value
A
SQLDialect array containing all dialects that are supported by
the API method annotated with this annotation. |
public abstract SQLDialect[] value
SQLDialect
array containing all dialects that are supported by
the API method annotated with this annotation.Copyright © 2016. All Rights Reserved.