public enum SQLDialect extends Enum<SQLDialect>
jOOQ supports a variety of dialects, which are grouped into dialect families.
For instance, the SQL Server dialect family SQLSERVER
is specialised
by its dialects
Enum Constant and Description |
---|
ACCESS
The MS Access SQL dialect family.
|
ACCESS2013
The MS Access 2013 SQL dialect.
|
ASE
The Sybase Adaptive Server SQL dialect family.
|
CUBRID
The CUBRID SQL dialect family.
|
DB2
The IBM DB2 SQL dialect family.
|
DB2_10
The IBM DB2 10.x SQL dialect.
|
DB2_9
The IBM DB2 9.x SQL dialect.
|
DERBY
The Apache Derby SQL dialect family.
|
FIREBIRD
The Firebird SQL dialect family.
|
H2
The H2 SQL dialect family.
|
HSQLDB
The Hypersonic SQL dialect family.
|
INGRES
The Ingres dialect family.
|
MARIADB
The MariaDB dialect family.
|
MYSQL
The MySQL dialect family.
|
ORACLE
The Oracle dialect family.
|
ORACLE10G
The Oracle 10g dialect.
|
ORACLE11G
The Oracle 11g dialect.
|
ORACLE12C
The Oracle 12c dialect.
|
POSTGRES
The PostgreSQL dialect family.
|
SQL99
Deprecated.
- Do not reference this pseudo-dialect. It is only used for
unit testing
|
SQLITE
The SQLite dialect family.
|
SQLSERVER
The SQL Server dialect family.
|
SQLSERVER2008
The SQL Server 2008 dialect.
|
SQLSERVER2012
The SQL Server 2012 dialect.
|
SYBASE
The Sybase SQL Anywhere dialect family.
|
Modifier and Type | Method and Description |
---|---|
boolean |
commercial()
Whether this dialect is supported with the jOOQ commercial license only.
|
SQLDialect |
family()
The dialect family.
|
String |
getName()
The name of this dialect as it appears in related class names.
|
String |
getNameLC()
The name of this dialect as it appears in related package names.
|
String |
getNameUC()
The name of this dialect as it appears in related enum values.
|
static SQLDialect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLDialect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final SQLDialect SQL99
public static final SQLDialect CUBRID
public static final SQLDialect DERBY
public static final SQLDialect FIREBIRD
public static final SQLDialect H2
public static final SQLDialect HSQLDB
public static final SQLDialect MARIADB
public static final SQLDialect MYSQL
public static final SQLDialect POSTGRES
public static final SQLDialect SQLITE
public static final SQLDialect ACCESS
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect ACCESS2013
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect ASE
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect DB2
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect DB2_9
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect DB2_10
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect INGRES
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect ORACLE
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect ORACLE10G
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect ORACLE11G
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect ORACLE12C
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect SQLSERVER
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect SQLSERVER2008
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect SQLSERVER2012
This dialect is available in commercial jOOQ distributions, only.
public static final SQLDialect SYBASE
This dialect is available in commercial jOOQ distributions, only.
public static SQLDialect[] values()
for (SQLDialect c : SQLDialect.values()) System.out.println(c);
public static SQLDialect valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final boolean commercial()
public final SQLDialect family()
This returns the dialect itself, if it has no "parent family". E.g.
SQLSERVER == SQLSERVER2012.family();
SQLSERVER == SQLSERVER2008.family();
SQLSERVER == SQLSERVER.family();
public final String getName()
public final String getNameLC()
public final String getNameUC()
Copyright © 2014. All Rights Reserved.