public class DatabaseH2 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 |
---|
DatabaseH2() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentContrib() |
String |
getPooledDeploymentContrib() |
RepositoryDescriptor |
getRepositoryDescriptor() |
void |
setUp() |
boolean |
supportsClustering()
For databases that don't support clustering.
|
void |
tearDown() |
doOnAllTables, getRecursiveRemovalDepthLimit, hasSubSecondResolution, maybeSleepToNextSecond, setDatabaseForTests, setDatabaseName, setProperty, setRepositoryName, sleepForFulltext, supportsMultipleFulltextIndexes
public static final DatabaseHelper INSTANCE
public void setUp() throws Exception
setUp
in class DatabaseHelper
Exception
public void tearDown() throws SQLException
tearDown
in class DatabaseHelper
SQLException
public String getDeploymentContrib()
getDeploymentContrib
in class DatabaseHelper
public String getPooledDeploymentContrib()
getPooledDeploymentContrib
in class DatabaseHelper
public RepositoryDescriptor getRepositoryDescriptor()
getRepositoryDescriptor
in class DatabaseHelper
public boolean supportsClustering()
DatabaseHelper
supportsClustering
in class DatabaseHelper
Copyright © 2011 Nuxeo SA. All Rights Reserved.