public class DB2Platform extends DatabasePlatform
DatabasePlatform.OnQueryOnly
Constructor and Description |
---|
DB2Platform() |
Modifier and Type | Method and Description |
---|---|
PlatformIdGenerator |
createSequenceIdGenerator(BackgroundExecutor be,
DataSource ds,
int stepSize,
String seqName)
Return a DB2 specific sequence IdGenerator that supports batch fetching
sequence values.
|
completeSql, configure, convertQuotedIdentifiers, createSchemaIfNotExists, escapeLikeString, fromForUpdate, getBasicSqlLimiter, getBlobDbType, getBooleanDbType, getClobDbType, getCloseQuote, getColumnAliasPrefix, getDbDefaultValue, getDbEncrypt, getDbIdentity, getDbTypeMap, getHistorySupport, getLikeClause, getMaxConstraintNameLength, getMaxTableNameLength, getName, getOnQueryOnly, getOpenQuote, getPersistBatchOnCascade, getPlatform, getSqlLimiter, getTableAliasPlaceHolder, isDdlCommitOnCreateIndex, isForwardOnlyHintOnFindIterate, isIdInExpandedForm, isNativeArrayType, isNativeUuidType, isPlatform, isSelectCountWithAlias, isSequenceBatchMode, isSupportsNativeIlike, isSupportsResultSetConcurrencyModeUpdatable, isTreatEmptyStringsAsNull, schemaExists, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setOnQueryOnly, setSequenceBatchMode, setSupportsResultSetConcurrencyModeUpdatable, setTableAliasPlaceHolder, tableExists, tablePartitionInit, tablePartitionsExist, translate, unQuote, useExtraTransactionOnIterateSecondaryQueries
public DB2Platform()
public PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
createSequenceIdGenerator
in class DatabasePlatform
be
- the BackgroundExecutor that can be used to load the sequence if
desiredds
- the DataSourcestepSize
- the sequence allocation size as defined by mapping (defaults to 50)seqName
- the name of the sequenceCopyright © 2019. All rights reserved.