|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Dialect | |
|---|---|
| com.github.drinkjava2.jdialects | |
| com.github.drinkjava2.jdialects.id | |
| Uses of Dialect in com.github.drinkjava2.jdialects |
|---|
| Methods in com.github.drinkjava2.jdialects that return Dialect | |
|---|---|
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. |
| Methods in com.github.drinkjava2.jdialects with parameters of type Dialect | |
|---|---|
static TableModel[] |
TableModelUtilsOfDb.db2Model(Connection con,
Dialect dialect)
Convert JDBC connected database structure to TableModels, note: 1)This method does not close connection 2)This method does not support sequence, foreign keys, primary keys..., but will improve later. |
static TableModel[] |
TableModelUtils.db2Models(Connection con,
Dialect dialect)
Convert database metaData to TableModels, note: 1)This method does not close connection, do not forgot close it later 2)This method does not support sequence, foreign keys, primary keys..., only read the basic database columns structure, but in future version may support |
String |
DialectFunctionTranslator.doTranslate(Dialect d,
String sql)
Translate universal SQL to native SQL, all #xxx() format universal SQL functions will be translate to xxx() native SQL functions |
protected static void |
DDLFeatures.initDDLFeatures(Dialect dia,
DDLFeatures ddl)
|
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 |
static boolean |
ReservedDBWords.isReservedWord(Dialect dialect,
String word)
Check if is a dialect reserved word of ANSI-SQL reserved word |
protected static String |
DialectFunctionUtils.render(Dialect d,
String functionName,
String... args)
The render method translate function template to real SQL piece |
static String[] |
DDLCreateUtils.toCreateDDL(Dialect dialect,
TableModel... 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,
TableModel... tables)
Transfer tables to drop DDL and without format it |
| Uses of Dialect in com.github.drinkjava2.jdialects.id |
|---|
| Methods in com.github.drinkjava2.jdialects.id with parameters of type Dialect | |
|---|---|
Object |
UUIDAnyGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
UUID36Generator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
UUID32Generator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
UUID25Generator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
TimeStampIdGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
TableIdGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
Get the next Table Generator ID |
Object |
SortedUUIDGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
SnowflakeGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
SequenceIdGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
IdGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
Get the next ID generated by implementation of IdGenerator |
Object |
IdentityIdGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
Object |
AutoIdGenerator.getNextID(NormalJdbcTool jdbc,
Dialect dialect,
Type dataType)
|
IdGenerator |
AutoIdGenerator.getSequenceOrTableIdGenerator(Dialect dialect)
If dialect support sequence, return a SequenceIdGenerator, otherwise return a TableIdGenerator |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||