Package io.ebean.config.dbplatform.db2
Class BaseDB2Platform
java.lang.Object
io.ebean.config.dbplatform.DatabasePlatform
io.ebean.config.dbplatform.db2.BaseDB2Platform
- Direct Known Subclasses:
DB2ForIPlatform,DB2LegacyPlatform,DB2LuwPlatform,DB2ZosPlatform
DB2 specific platform.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.ebean.config.dbplatform.DatabasePlatform
DatabasePlatform.OnQueryOnly -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName) Return a DB2 specific sequence IdGenerator that supports batch fetching sequence values.Methods inherited from class io.ebean.config.dbplatform.DatabasePlatform
completeSql, configure, convertQuotedIdentifiers, createSchemaIfNotExists, escapeLikeString, fromForUpdate, getBasicSqlLimiter, getBlobDbType, getBooleanDbType, getClobDbType, getCloseQuote, getColumnAliasPrefix, getDbDefaultValue, getDbEncrypt, getDbIdentity, getDbTypeMap, getHistorySupport, getLikeClause, getMaxConstraintNameLength, getMaxInBinding, getMaxTableNameLength, getName, getOnQueryOnly, getOpenQuote, getPersistBatchOnCascade, getPlatform, getSqlLimiter, isCaseSensitiveCollation, isForwardOnlyHintOnFindIterate, isIdInExpandedForm, isInlineSqlUpdateLimit, isNativeArrayType, isNativeUuidType, isPlatform, isSelectCountWithAlias, isSelectCountWithColumnAlias, isSequenceBatchMode, isSupportsDeleteTableAlias, isSupportsNativeIlike, isSupportsResultSetConcurrencyModeUpdatable, isSupportsSavepointId, isTreatEmptyStringsAsNull, isUseMigrationStoredProcedures, schemaExists, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setOnQueryOnly, setSequenceBatchMode, setSupportsResultSetConcurrencyModeUpdatable, setUseMigrationStoredProcedures, supportsNativeJavaTime, tableExists, tablePartitionInit, tablePartitionsExist, translate, truncateStatement, unQuote, useExtraTransactionOnIterateSecondaryQueries
-
Constructor Details
-
BaseDB2Platform
public BaseDB2Platform()
-
-
Method Details
-
createSequenceIdGenerator
public PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName) Return a DB2 specific sequence IdGenerator that supports batch fetching sequence values.- Overrides:
createSequenceIdGeneratorin classDatabasePlatform- Parameters:
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 sequence
-