Class BaseDB2Platform

java.lang.Object
io.ebean.config.dbplatform.DatabasePlatform
io.ebean.platform.db2.BaseDB2Platform
Direct Known Subclasses:
DB2ForIPlatform, DB2LegacyPlatform, DB2Luw9Platform, DB2LuwPlatform, DB2ZosPlatform

public abstract class BaseDB2Platform extends io.ebean.config.dbplatform.DatabasePlatform
DB2 specific platform.
  • Field Summary

    Fields inherited from class io.ebean.config.dbplatform.DatabasePlatform

    allQuotedIdentifiers, autoCommitFalseOnFindIterate, basicSqlLimiter, blobDbType, booleanDbType, caseSensitiveCollation, clobDbType, closeQuote, columnAliasPrefix, dbDefaultValue, dbEncrypt, dbIdentity, dbTypeMap, exceptionTranslator, forwardOnlyHintOnFindIterate, historySupport, idInExpandedForm, inlineSqlUpdateLimit, likeClauseEscaped, likeClauseRaw, likeEscapeChar, likeSpecialCharacters, maxConstraintNameLength, maxInBinding, maxTableNameLength, nativeUuidType, openQuote, persistBatchOnCascade, platform, selectCountWithAlias, selectCountWithColumnAlias, sequenceBatchMode, sequenceBatchSize, sqlLimiter, supportsDeleteTableAlias, supportsNativeIlike, supportsNativeJavaTime, supportsResultSetConcurrencyModeUpdatable, supportsSavepointId, truncateTable, useExtraTransactionOnIterateSecondaryQueries, useMigrationStoredProcedures
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.ebean.config.dbplatform.PlatformIdGenerator
    createSequenceIdGenerator(io.ebean.BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
    Return a DB2 specific sequence IdGenerator that supports batch fetching sequence values.
    protected String
    withForUpdate(String sql, io.ebean.Query.LockWait lockWait, io.ebean.Query.LockType lockType)
     

    Methods inherited from class io.ebean.config.dbplatform.DatabasePlatform

    addGeoTypes, autoCommitFalseOnFindIterate, basicSqlLimiter, blobDbType, booleanDbType, caseSensitiveCollation, clobDbType, closeQuote, columnAliasPrefix, completeSql, configure, configure, configureIdType, convertQuotedIdentifiers, createSchemaIfNotExists, dbDefaultValue, dbEncrypt, dbIdentity, dbTypeMap, escapeLikeCharacter, escapeLikeString, forwardOnlyHintOnFindIterate, fromForUpdate, historySupport, idInExpandedForm, inlineSqlComment, inlineSqlHint, inlineSqlUpdateLimit, isPlatform, likeClause, maxConstraintNameLength, maxInBinding, maxTableNameLength, name, nativeArrayType, nativeUuidType, openQuote, persistBatchOnCascade, platform, schemaExists, selectCountWithAlias, selectCountWithColumnAlias, sequenceBatchMode, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setSequenceBatchMode, setSupportsResultSetConcurrencyModeUpdatable, setUseMigrationStoredProcedures, sqlLimiter, supportsDeleteTableAlias, supportsNativeIlike, supportsNativeJavaTime, supportsResultSetConcurrencyModeUpdatable, supportsSavepointId, translate, truncateStatement, unQuote, useExtraTransactionOnIterateSecondaryQueries, useMigrationStoredProcedures

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseDB2Platform

      public BaseDB2Platform()
  • Method Details

    • createSequenceIdGenerator

      public io.ebean.config.dbplatform.PlatformIdGenerator createSequenceIdGenerator(io.ebean.BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
      Return a DB2 specific sequence IdGenerator that supports batch fetching sequence values.
      Overrides:
      createSequenceIdGenerator in class io.ebean.config.dbplatform.DatabasePlatform
    • withForUpdate

      protected String withForUpdate(String sql, io.ebean.Query.LockWait lockWait, io.ebean.Query.LockType lockType)
      Overrides:
      withForUpdate in class io.ebean.config.dbplatform.DatabasePlatform