public class MySQLDialect extends StandardDialect implements DumpRestoreSupport
TriggerSupport.TriggerEventEnum, TriggerSupport.TriggerTimeEnum| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
RESERVED_KEY_WORDS |
SQL_2003_RESERVED_KEY_WORDS| Constructor and Description |
|---|
MySQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
alterIdentityColumnFormat() |
protected String |
createForeignKeyConstraintFormat()
Deferrability clause is not supported.
|
protected String |
createUniqueConstraintFormat() |
protected String |
currentDatePattern() |
protected String |
currentTimePattern() |
protected String |
currentTimestampPattern() |
protected String |
dateLiteralFormat() |
protected String |
dropForeignKeyConstraintFormat() |
protected String |
dropUniqueConstraintFormat() |
<Z,D extends Database<Z>> |
dump(D database,
Decoder decoder,
File file,
boolean dataOnly) |
List<String> |
getDefaultSchemas(DatabaseMetaData metaData)
Returns a search path of schemas
|
DumpRestoreSupport |
getDumpRestoreSupport() |
protected Set<String> |
reservedIdentifiers(DatabaseMetaData metaData) |
<Z,D extends Database<Z>> |
restore(D database,
Decoder decoder,
File file,
boolean dataOnly) |
protected String |
timeLiteralFormat() |
protected String |
timestampLiteralFormat() |
protected String |
vendorPattern() |
alterSequenceFormat, createColumnPropertiesFactory, createForeignKeyConstraintFactory, createIdentifierNormalizer, createQualifiedNameFactory, createSchemaFormat, createSequencePropertiesFactory, createTriggerFormat, createUniqueConstraintFactory, dropConstraintFormat, dropSchemaFormat, dropTriggerFormat, dummyTable, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionFormat, executeFunctionSQL, executeQuery, failureXAErrorCodes, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumns, getColumnType, getConnectionProperties, getCreateForeignKeyConstraintSQL, getCreateSchemaSQL, getCreateTriggerSQL, getCreateUniqueConstraintSQL, getDropForeignKeyConstraintSQL, getDropSchemaSQL, getDropTriggerSQL, getDropUniqueConstraintSQL, getForeignKeyConstraints, getIdentityColumns, getIdentityColumnSupport, getNextSequenceValueSQL, getPrimaryKey, getSequences, getSequenceSupport, getTables, getTriggerRowAlias, getTriggerSupport, getTruncateTableSQL, getTypes, getUniqueConstraints, identifierPattern, indicatesFailure, indicatesFailure, indicatesFailure, indicatesFailure, insertIntoTablePattern, isSelectForUpdate, isValid, locatorPattern, meetsRequirement, nextSequenceValueFormat, parse, parseInsertTable, parseSequence, randomPattern, schemaPattern, selectForUpdatePattern, sequencePattern, sequenceTableType, truncateTableFormatprotected static final String[] RESERVED_KEY_WORDS
public MySQLDialect()
protected String vendorPattern()
vendorPattern in class StandardDialectStandardDialect.vendorPattern()protected Set<String> reservedIdentifiers(DatabaseMetaData metaData)
reservedIdentifiers in class StandardDialectpublic List<String> getDefaultSchemas(DatabaseMetaData metaData) throws SQLException
DialectgetDefaultSchemas in interface DialectgetDefaultSchemas in class StandardDialectSQLExceptionStandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)protected String createForeignKeyConstraintFormat()
createForeignKeyConstraintFormat in class StandardDialectStandardDialect.createForeignKeyConstraintFormat()protected String createUniqueConstraintFormat()
createUniqueConstraintFormat in class StandardDialectStandardDialect.createUniqueConstraintFormat()protected String dropForeignKeyConstraintFormat()
dropForeignKeyConstraintFormat in class StandardDialectStandardDialect.dropForeignKeyConstraintFormat()protected String dropUniqueConstraintFormat()
dropUniqueConstraintFormat in class StandardDialectStandardDialect.dropUniqueConstraintFormat()protected String alterIdentityColumnFormat()
alterIdentityColumnFormat in class StandardDialectStandardDialect.alterIdentityColumnFormat()protected String currentDatePattern()
currentDatePattern in class StandardDialectStandardDialect.currentDatePattern()protected String currentTimePattern()
currentTimePattern in class StandardDialectStandardDialect.currentTimePattern()protected String currentTimestampPattern()
currentTimestampPattern in class StandardDialectStandardDialect.currentTimestampPattern()protected String dateLiteralFormat()
dateLiteralFormat in class StandardDialectStandardDialect.dateLiteralFormat()protected String timeLiteralFormat()
timeLiteralFormat in class StandardDialectStandardDialect.timeLiteralFormat()protected String timestampLiteralFormat()
timestampLiteralFormat in class StandardDialectStandardDialect.timestampLiteralFormat()public DumpRestoreSupport getDumpRestoreSupport()
getDumpRestoreSupport in interface DialectgetDumpRestoreSupport in class StandardDialectStandardDialect.getDumpRestoreSupport()public <Z,D extends Database<Z>> void dump(D database, Decoder decoder, File file, boolean dataOnly) throws Exception
dump in interface DumpRestoreSupportExceptionCopyright © 2004–2014 Paul Ferraro. All rights reserved.