| Package | Description |
|---|---|
| com.github.drinkjava2.jdialects |
| Modifier and Type | Method and Description |
|---|---|
Dialect |
DialectConstraint.getDialect() |
static Dialect |
GuessDialectUtils.guessDialect(Connection jdbcConnection)
Guess dialect based on given JDBC connection instance, Note: this method
does not close connection
|
static Dialect |
Dialect.guessDialect(Connection connection)
Guess Dialect by given connection, note:this method does not close
connection
|
static Dialect |
GuessDialectUtils.guessDialect(DataSource dataSource)
Guess dialect based on given dataSource
|
static Dialect |
Dialect.guessDialect(DataSource datasource)
Guess Dialect by given data source
|
static Dialect |
GuessDialectUtils.guessDialect(String databaseName,
Object... majorVersionMinorVersion)
Guess Dialect by give databaseName, MajorVersion, MinorVersion
|
static Dialect |
Dialect.guessDialect(String databaseName,
Object... majorVersionMinorVersion)
Guess Dialect by given databaseName, major & minor version if have
|
static Dialect |
Dialect.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialect[] |
Dialect.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
DDLFeatures.initDDLFeatures(Dialect dia,
DDLFeatures ddl) |
protected static void |
DialectFunctionTemplate.initFunctionTemplates1(Dialect d) |
protected static void |
DialectFunctionTemplate.initFunctionTemplates2(Dialect d) |
protected static void |
DialectFunctionTemplate.initFunctionTemplates3(Dialect d) |
protected static void |
DialectFunctionTemplate.initFunctionTemplates4(Dialect d) |
protected static String |
DialectPaginationTemplate.initializePaginSQLTemplate(Dialect d)
Return pagination template of this Dialect
|
protected static String |
DialectPaginationTemplate.initializeTopLimitSqlTemplate(Dialect d)
Return top limit sql template of this Dialect
|
protected static void |
DialectTypeMappingTemplate.initializeTypeMappings(Dialect d) |
static boolean |
ReservedDBWords.isReservedWord(Dialect dialect,
String word)
Check if is a dialect reserved word of ANSI-SQL reserved word
|
protected static String |
FunctionUtils.render(Dialect d,
String functionName,
Object... args)
The render method translate function template to real SQL piece
|
DialectConstraint |
DialectConstraint.setDialect(Dialect dialect) |
static String[] |
DDLCreateUtils.toCreateDDL(Dialect dialect,
Table... tables)
Transfer tables to DDL by given dialect and without format it, if want
get a formatted DDL, use DDLFormatter.format(DDLs) method to format it
|
static String[] |
DDLDropUtils.toDropDDL(Dialect dialect,
Table... tables)
Transfer tables to drop DDL and without format it
|
Copyright © 2017. All rights reserved.