com.avaje.ebean.config.dbplatform
Class MySqlPlatform
java.lang.Object
com.avaje.ebean.config.dbplatform.DatabasePlatform
com.avaje.ebean.config.dbplatform.MySqlPlatform
public class MySqlPlatform
- extends DatabasePlatform
MySQL specific platform.
- supportsGetGeneratedKeys = true
- Uses LIMIT OFFSET clause
- Uses ` for quoted identifiers
| Methods inherited from class com.avaje.ebean.config.dbplatform.DatabasePlatform |
convertQuotedIdentifiers, getBlobDbType, getBooleanDbType, getCloseQuote, getDbDdlSyntax, getDbEncrypt, getDbIdentity, getDbTypeMap, getName, getOpenQuote, getSqlLimiter, isIdInExpandedForm, isTreatEmptyStringsAsNull, setDbEncrypt |
MySqlPlatform
public MySqlPlatform()
createSequenceIdGenerator
public IdGenerator createSequenceIdGenerator(BackgroundExecutor be,
DataSource ds,
String seqName,
int batchSize)
- Return null in case there is a sequence annotation.
- Overrides:
createSequenceIdGenerator in class DatabasePlatform
- Parameters:
be - 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 loaded
Copyright © 2010. All Rights Reserved.