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, truncateTableFormat
protected static final String[] RESERVED_KEY_WORDS
public MySQLDialect()
protected String vendorPattern()
vendorPattern
in class StandardDialect
StandardDialect.vendorPattern()
protected Set<String> reservedIdentifiers(DatabaseMetaData metaData)
reservedIdentifiers
in class StandardDialect
public List<String> getDefaultSchemas(DatabaseMetaData metaData) throws SQLException
Dialect
getDefaultSchemas
in interface Dialect
getDefaultSchemas
in class StandardDialect
SQLException
StandardDialect.getDefaultSchemas(java.sql.DatabaseMetaData)
protected String createForeignKeyConstraintFormat()
createForeignKeyConstraintFormat
in class StandardDialect
StandardDialect.createForeignKeyConstraintFormat()
protected String createUniqueConstraintFormat()
createUniqueConstraintFormat
in class StandardDialect
StandardDialect.createUniqueConstraintFormat()
protected String dropForeignKeyConstraintFormat()
dropForeignKeyConstraintFormat
in class StandardDialect
StandardDialect.dropForeignKeyConstraintFormat()
protected String dropUniqueConstraintFormat()
dropUniqueConstraintFormat
in class StandardDialect
StandardDialect.dropUniqueConstraintFormat()
protected String alterIdentityColumnFormat()
alterIdentityColumnFormat
in class StandardDialect
StandardDialect.alterIdentityColumnFormat()
protected String currentDatePattern()
currentDatePattern
in class StandardDialect
StandardDialect.currentDatePattern()
protected String currentTimePattern()
currentTimePattern
in class StandardDialect
StandardDialect.currentTimePattern()
protected String currentTimestampPattern()
currentTimestampPattern
in class StandardDialect
StandardDialect.currentTimestampPattern()
protected String dateLiteralFormat()
dateLiteralFormat
in class StandardDialect
StandardDialect.dateLiteralFormat()
protected String timeLiteralFormat()
timeLiteralFormat
in class StandardDialect
StandardDialect.timeLiteralFormat()
protected String timestampLiteralFormat()
timestampLiteralFormat
in class StandardDialect
StandardDialect.timestampLiteralFormat()
public DumpRestoreSupport getDumpRestoreSupport()
getDumpRestoreSupport
in interface Dialect
getDumpRestoreSupport
in class StandardDialect
StandardDialect.getDumpRestoreSupport()
public <Z,D extends Database<Z>> void dump(D database, Decoder decoder, File file, boolean dataOnly) throws Exception
dump
in interface DumpRestoreSupport
Exception
Copyright © 2004–2014 Paul Ferraro. All rights reserved.