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() |
ProcessBuilder |
createDumpProcess(ConnectionProperties properties,
File file) |
protected String |
createForeignKeyConstraintFormat()
Deferrability clause is not supported.
|
ProcessBuilder |
createRestoreProcess(ConnectionProperties properties,
File file) |
protected String |
createUniqueConstraintFormat() |
protected String |
currentDatePattern() |
protected String |
currentTimePattern() |
protected String |
currentTimestampPattern() |
protected String |
dateLiteralFormat() |
protected String |
dropForeignKeyConstraintFormat() |
protected String |
dropUniqueConstraintFormat() |
List<String> |
getDefaultSchemas(DatabaseMetaData metaData)
Returns a search path of schemas
|
DumpRestoreSupport |
getDumpRestoreSupport() |
protected Set<String> |
reservedIdentifiers(DatabaseMetaData metaData) |
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, getCreateForeignKeyConstraintSQL, getCreateSchemaSQL, getCreateTriggerSQL, getCreateUniqueConstraintSQL, getDropForeignKeyConstraintSQL, getDropSchemaSQL, getDropTriggerSQL, getDropUniqueConstraintSQL, getForeignKeyConstraints, getIdentityColumns, getIdentityColumnSupport, getNextSequenceValueSQL, getPrimaryKey, getSequences, getSequenceSupport, getTables, getTriggerRowAlias, getTriggerSupport, getTruncateTableSQL, getTypes, getUniqueConstraints, getUrlPattern, identifierPattern, indicatesFailure, indicatesFailure, indicatesFailure, indicatesFailure, insertIntoTablePattern, isSelectForUpdate, isValid, locatorPattern, meetsRequirement, nextSequenceValueFormat, parse, parseInsertTable, parseSequence, randomPattern, selectForUpdatePattern, sequencePattern, sequenceTableType, truncateTableFormat
protected static final String[] RESERVED_KEY_WORDS
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 ProcessBuilder createDumpProcess(ConnectionProperties properties, File file)
createDumpProcess
in interface DumpRestoreSupport
DumpRestoreSupport.createDumpProcess(net.sf.hajdbc.ConnectionProperties, java.io.File)
public ProcessBuilder createRestoreProcess(ConnectionProperties properties, File file)
createRestoreProcess
in interface DumpRestoreSupport
DumpRestoreSupport.createRestoreProcess(net.sf.hajdbc.ConnectionProperties, java.io.File)
Copyright © 2004–2013 Paul Ferraro. All rights reserved.