org.jooq
Enum SQLDialect

java.lang.Object
  extended by java.lang.Enum<SQLDialect>
      extended by org.jooq.SQLDialect
All Implemented Interfaces:
Serializable, Comparable<SQLDialect>

public enum SQLDialect
extends Enum<SQLDialect>

This enumeration lists all supported dialects.

Author:
Lukas Eder

Enum Constant Summary
ASE
          The Sybase Adaptive Server SQL dialect
CUBRID
          The CUBRID SQL dialect
DB2
          The IBM DB2 SQL dialect
DERBY
          The Apache Derby SQL dialect
H2
          The H2 SQL dialect
HSQLDB
          The Hypersonic SQL dialect
INGRES
          The Ingres dialect
MYSQL
          The MySQL dialect
ORACLE
          The Oracle dialect
POSTGRES
          The PostGres dialect
SQL99
          Deprecated. - Do not reference this pseudo-dialect. It is only used for unit testing
SQLITE
          The SQLite dialect
SQLSERVER
          The SQL Server dialect
SYBASE
          The Sybase dialect
 
Method Summary
 Class<? extends Factory> getFactory()
           
 String getName()
           
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SQL99

@Deprecated
public static final SQLDialect SQL99
Deprecated. - Do not reference this pseudo-dialect. It is only used for unit testing
The standard SQL dialect.


ASE

public static final SQLDialect ASE
The Sybase Adaptive Server SQL dialect


CUBRID

public static final SQLDialect CUBRID
The CUBRID SQL dialect


DB2

public static final SQLDialect DB2
The IBM DB2 SQL dialect


DERBY

public static final SQLDialect DERBY
The Apache Derby SQL dialect


H2

public static final SQLDialect H2
The H2 SQL dialect


HSQLDB

public static final SQLDialect HSQLDB
The Hypersonic SQL dialect


INGRES

public static final SQLDialect INGRES
The Ingres dialect


MYSQL

public static final SQLDialect MYSQL
The MySQL dialect


ORACLE

public static final SQLDialect ORACLE
The Oracle dialect


POSTGRES

public static final SQLDialect POSTGRES
The PostGres dialect


SQLITE

public static final SQLDialect SQLITE
The SQLite dialect


SQLSERVER

public static final SQLDialect SQLSERVER
The SQL Server dialect


SYBASE

public static final SQLDialect SYBASE
The Sybase dialect

Method Detail

values

public static SQLDialect[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SQLDialect c : SQLDialect.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SQLDialect valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getName

public final String getName()

getFactory

public final Class<? extends Factory> getFactory()


Copyright © 2012. All Rights Reserved.