public class DatabaseMySQL extends DatabaseHelper
Modifier and Type | Field and Description |
---|---|
static DatabaseHelper |
INSTANCE |
DATABASE, DATABASE_PROPERTY, DB_CLASS_NAME_BASE, DB_DEFAULT, DB_PROPERTY, DRIVER_PROPERTY, PASSWORD_PROPERTY, PORT_PROPERTY, REPOSITORY_PROPERTY, repositoryName, SERVER_PROPERTY, URL_PROPERTY, USER_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, getPooledDeploymentContrib, maybeSleepToNextSecond, setDatabaseForTests, setDatabaseName, setProperty, setRepositoryName, sleepForFulltext, supportsMultipleFulltextIndexes, 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 © 2011 Nuxeo SA. All Rights Reserved.