public class DatabaseMySQL extends DatabaseHelper
Modifier and Type | Field and Description |
---|---|
static DatabaseHelper |
INSTANCE |
DATABASE, DATABASE_PROPERTY, databaseName, DB_CLASS_NAME_BASE, DB_DEFAULT, DB_PROPERTY, DEF_ID_TYPE, DEFAULT_DATABASE_NAME, DEFAULT_REPOSITORY_NAME, DRIVER_PROPERTY, ID_TYPE_PROPERTY, PASSWORD_PROPERTY, PORT_PROPERTY, REPOSITORY_PROPERTY, repositoryName, SERVER_PROPERTY, SINGLEDS_PROPERTY, URL_PROPERTY, USER_PROPERTY, XA_DATASOURCE_PROPERTY
Constructor and Description |
---|
DatabaseMySQL() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentContrib() |
int |
getRecursiveRemovalDepthLimit()
For databases that fail to cascade deletes beyond a certain depth.
|
RepositoryDescriptor |
getRepositoryDescriptor() |
boolean |
hasSubSecondResolution()
For databases that don't have subsecond resolution, like MySQL.
|
void |
setUp() |
boolean |
supportsClustering()
For databases that don't support clustering.
|
doOnAllTables, getConnection, maybeSleepToNextSecond, setBinaryManager, setDatabaseForTests, setDatabaseName, setProperty, setRepositoryFactory, setRepositoryName, setSingleDataSourceMode, setSystemProperty, setUp, sleepForFulltext, supportsArrayColumns, supportsMultipleFulltextIndexes, supportsSequenceId, supportsSoftDelete, supportsXA, tearDown
public static DatabaseHelper INSTANCE
public void setUp() throws Exception
setUp
in class DatabaseHelper
Exception
public String getDeploymentContrib()
getDeploymentContrib
in class DatabaseHelper
public RepositoryDescriptor getRepositoryDescriptor()
getRepositoryDescriptor
in class DatabaseHelper
public boolean hasSubSecondResolution()
DatabaseHelper
hasSubSecondResolution
in class DatabaseHelper
public int getRecursiveRemovalDepthLimit()
DatabaseHelper
getRecursiveRemovalDepthLimit
in class DatabaseHelper
public boolean supportsClustering()
DatabaseHelper
supportsClustering
in class DatabaseHelper
Copyright © 2015 Nuxeo SA. All rights reserved.