com.avaje.ebean.config.dbplatform
Class HsqldbPlatform

java.lang.Object
  extended by com.avaje.ebean.config.dbplatform.DatabasePlatform
      extended by com.avaje.ebean.config.dbplatform.HsqldbPlatform

public class HsqldbPlatform
extends DatabasePlatform

H2 specific platform.


Constructor Summary
HsqldbPlatform()
           
 
Method Summary
 IdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
          Return a H2 specific sequence IdGenerator that supports batch fetching sequence values.
 
Methods inherited from class com.avaje.ebean.config.dbplatform.DatabasePlatform
completeSql, convertQuotedIdentifiers, getBlobDbType, getBooleanDbType, getClobDbType, getCloseQuote, getDbDdlSyntax, getDbEncrypt, getDbIdentity, getDbTypeMap, getName, getOpenQuote, getSqlLimiter, isIdInExpandedForm, isSelectCountWithAlias, isTreatEmptyStringsAsNull, setDbEncrypt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqldbPlatform

public HsqldbPlatform()
Method Detail

createSequenceIdGenerator

public IdGenerator createSequenceIdGenerator(BackgroundExecutor be,
                                             DataSource ds,
                                             String seqName,
                                             int batchSize)
Return a H2 specific sequence IdGenerator that supports batch fetching sequence values.

Overrides:
createSequenceIdGenerator in class DatabasePlatform
Parameters:
be - the BackgroundExecutor that can be used to load the sequence if desired
ds - the DataSource
seqName - the name of the sequence
batchSize - the number of sequences that should be loaded


Copyright © 2012. All Rights Reserved.