public class MySQLDialect extends StandardDialect
| Constructor and Description |
|---|
MySQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
alterIdentityColumnFormat() |
protected java.lang.String |
createForeignKeyConstraintFormat()
Deferrability clause is not supported.
|
protected java.lang.String |
createUniqueConstraintFormat() |
protected java.lang.String |
currentDatePattern() |
protected java.lang.String |
currentTimePattern() |
protected java.lang.String |
currentTimestampPattern() |
protected java.lang.String |
dateLiteralFormat() |
protected java.lang.String |
dropForeignKeyConstraintFormat() |
protected java.lang.String |
dropUniqueConstraintFormat() |
java.util.List<java.lang.String> |
getDefaultSchemas(java.sql.DatabaseMetaData metaData)
Returns a search path of schemas
|
java.util.Collection<QualifiedName> |
getSequences(java.sql.DatabaseMetaData metaData)
Returns a collection of all sequences in this database.
|
java.lang.String |
parseSequence(java.lang.String sql)
Parses a sequence name from the specified SQL statement.
|
protected java.lang.String |
timeLiteralFormat() |
protected java.lang.String |
timestampLiteralFormat() |
alterSequenceFormat, currentTimestampFunction, dropConstraintFormat, dummyTable, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionFormat, executeFunctionSQL, executeQuery, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumnType, getCreateForeignKeyConstraintSQL, getCreateUniqueConstraintSQL, getDropForeignKeyConstraintSQL, getDropUniqueConstraintSQL, getIdentifierPattern, getNextSequenceValueSQL, getSimpleSQL, getTruncateTableSQL, insertIntoTablePattern, isSelectForUpdate, nextSequenceValueFormat, parse, parseInsertTable, randomPattern, selectForUpdatePattern, sequencePattern, sequenceTableType, truncateTableFormatpublic MySQLDialect()
public java.util.List<java.lang.String> getDefaultSchemas(java.sql.DatabaseMetaData metaData) throws java.sql.SQLException
DialectgetDefaultSchemas in interface DialectgetDefaultSchemas in class StandardDialectjava.sql.SQLExceptionStandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)public java.lang.String parseSequence(java.lang.String sql)
DialectparseSequence in interface DialectparseSequence in class StandardDialectsql - a SQL statementStandardDialect.parseSequence(java.lang.String)public java.util.Collection<QualifiedName> getSequences(java.sql.DatabaseMetaData metaData) throws java.sql.SQLException
DialectgetSequences in interface DialectgetSequences in class StandardDialectmetaData - database meta datajava.sql.SQLExceptionStandardDialect.getSequences(java.sql.DatabaseMetaData)protected java.lang.String createForeignKeyConstraintFormat()
createForeignKeyConstraintFormat in class StandardDialectStandardDialect.createForeignKeyConstraintFormat()protected java.lang.String createUniqueConstraintFormat()
createUniqueConstraintFormat in class StandardDialectStandardDialect.createUniqueConstraintFormat()protected java.lang.String dropForeignKeyConstraintFormat()
dropForeignKeyConstraintFormat in class StandardDialectStandardDialect.dropForeignKeyConstraintFormat()protected java.lang.String dropUniqueConstraintFormat()
dropUniqueConstraintFormat in class StandardDialectStandardDialect.dropUniqueConstraintFormat()protected java.lang.String alterIdentityColumnFormat()
alterIdentityColumnFormat in class StandardDialectStandardDialect.alterIdentityColumnFormat()protected java.lang.String currentDatePattern()
currentDatePattern in class StandardDialectStandardDialect.currentDatePattern()protected java.lang.String currentTimePattern()
currentTimePattern in class StandardDialectStandardDialect.currentTimePattern()protected java.lang.String currentTimestampPattern()
currentTimestampPattern in class StandardDialectStandardDialect.currentTimestampPattern()protected java.lang.String dateLiteralFormat()
dateLiteralFormat in class StandardDialectStandardDialect.dateLiteralFormat()protected java.lang.String timeLiteralFormat()
timeLiteralFormat in class StandardDialectStandardDialect.timeLiteralFormat()protected java.lang.String timestampLiteralFormat()
timestampLiteralFormat in class StandardDialectStandardDialect.timestampLiteralFormat()