public class H2Platform extends DatabasePlatform
DatabasePlatform.OnQueryOnlybasicSqlLimiter, blobDbType, booleanDbType, clobDbType, closeQuote, columnAliasPrefix, dbDefaultValue, dbEncrypt, dbIdentity, dbTypeMap, forwardOnlyHintOnFindIterate, historySupport, idInExpandedForm, likeClause, maxConstraintNameLength, maxTableNameLength, name, nativeUuidType, onQueryOnly, openQuote, persistBatchOnCascade, platformDdl, selectCountWithAlias, sqlLimiter, supportsNativeIlike, tableAliasPlaceHolder, treatEmptyStringsAsNull, useExtraTransactionOnIterateSecondaryQueries| Constructor and Description |
|---|
H2Platform() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ServerConfig serverConfig)
Configure UUID Storage etc based on ServerConfig settings.
|
PlatformIdGenerator |
createSequenceIdGenerator(BackgroundExecutor be,
DataSource ds,
String seqName,
int batchSize)
Return a H2 specific sequence IdGenerator that supports batch fetching
sequence values.
|
protected String |
withForUpdate(String sql) |
close, completeSql, convertQuotedIdentifiers, createDdlHandler, getBasicSqlLimiter, getBlobDbType, getBooleanDbType, getClobDbType, getCloseQuote, getColumnAliasPrefix, getDbDefaultValue, getDbEncrypt, getDbIdentity, getDbTypeMap, getHistorySupport, getLikeClause, getMaxConstraintNameLength, getMaxTableNameLength, getName, getOnQueryOnly, getOpenQuote, getPersistBatchOnCascade, getPlatformDdl, getSqlLimiter, getTableAliasPlaceHolder, isForwardOnlyHintOnFindIterate, isIdInExpandedForm, isNativeUuidType, isSelectCountWithAlias, isSupportsNativeIlike, isTreatEmptyStringsAsNull, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setOnQueryOnly, setTableAliasPlaceHolder, tableExists, useExtraTransactionOnIterateSecondaryQueriespublic H2Platform()
public void configure(ServerConfig serverConfig)
DatabasePlatformconfigure in class DatabasePlatformpublic PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
createSequenceIdGenerator in class DatabasePlatformbe - the BackgroundExecutor that can be used to load the sequence if
desiredds - the DataSourceseqName - the name of the sequencebatchSize - the number of sequences that should be loadedprotected String withForUpdate(String sql)
withForUpdate in class DatabasePlatformCopyright © 2016. All rights reserved.