java.lang.Object
io.ebean.config.dbplatform.DatabasePlatform
io.ebean.platform.h2.H2Platform
H2 specific platform.
-
Field Summary
Fields inherited from class io.ebean.config.dbplatform.DatabasePlatform
allQuotedIdentifiers, 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 -
Method Summary
Modifier and TypeMethodDescriptioncreateSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName) Return a H2 specific sequence IdGenerator that supports batch fetching sequence values.protected StringwithForUpdate(String sql, Query.LockWait lockWait, Query.LockType lockType) Methods inherited from class io.ebean.config.dbplatform.DatabasePlatform
addGeoTypes, 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
-
Constructor Details
-
H2Platform
public H2Platform()
-
-
Method Details
-
createSequenceIdGenerator
public PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName) Return a H2 specific sequence IdGenerator that supports batch fetching sequence values.- Overrides:
createSequenceIdGeneratorin classDatabasePlatform
-
withForUpdate
- Overrides:
withForUpdatein classDatabasePlatform
-