net.sf.hajdbc.dialect
Class DB2Dialect
java.lang.Object
net.sf.hajdbc.dialect.StandardDialect
net.sf.hajdbc.dialect.DB2Dialect
- All Implemented Interfaces:
- Dialect
public class DB2Dialect
- extends StandardDialect
Dialect for DB2 (commercial).
- Since:
- 1.1
- Author:
- Paul Ferraro
| Methods inherited from class net.sf.hajdbc.dialect.StandardDialect |
alterIdentityColumnFormat, alterSequenceFormat, createForeignKeyConstraintFormat, createUniqueConstraintFormat, currentDatePattern, currentTimePattern, currentTimestampFunction, currentTimestampPattern, dropConstraintFormat, dropForeignKeyConstraintFormat, dropUniqueConstraintFormat, dummyTable, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionSQL, executeQuery, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumnType, getCreateForeignKeyConstraintSQL, getCreateUniqueConstraintSQL, getDefaultSchemas, getDropForeignKeyConstraintSQL, getDropUniqueConstraintSQL, getIdentifierPattern, getNextSequenceValueSQL, getSimpleSQL, getTruncateTableSQL, insertIntoTablePattern, isIdentity, isSelectForUpdate, parse, parseInsertTable, parseSequence, randomPattern, selectForUpdatePattern, sequenceTableType, truncateTableFormat |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DB2Dialect
public DB2Dialect()
executeFunctionFormat
protected String executeFunctionFormat()
- Overrides:
executeFunctionFormat in class StandardDialect
- See Also:
StandardDialect.executeFunctionFormat()
getSequences
public Collection<QualifiedName> getSequences(DatabaseMetaData metaData)
throws SQLException
- Description copied from interface:
Dialect
- Returns a collection of all sequences in this database.
- Specified by:
getSequences in interface Dialect- Overrides:
getSequences in class StandardDialect
- Parameters:
metaData - database meta data
- Returns:
- a collection of sequence names
- Throws:
SQLException- See Also:
StandardDialect.getSequences(java.sql.DatabaseMetaData)
sequencePattern
protected String sequencePattern()
- Overrides:
sequencePattern in class StandardDialect
- See Also:
StandardDialect.sequencePattern()
nextSequenceValueFormat
protected String nextSequenceValueFormat()
- Overrides:
nextSequenceValueFormat in class StandardDialect
- See Also:
StandardDialect.nextSequenceValueFormat()
dateLiteralFormat
protected String dateLiteralFormat()
- Overrides:
dateLiteralFormat in class StandardDialect
- See Also:
StandardDialect.dateLiteralFormat()
timeLiteralFormat
protected String timeLiteralFormat()
- Overrides:
timeLiteralFormat in class StandardDialect
- See Also:
StandardDialect.timeLiteralFormat()
timestampLiteralFormat
protected String timestampLiteralFormat()
- Overrides:
timestampLiteralFormat in class StandardDialect
- See Also:
StandardDialect.timestampLiteralFormat()