public class DatabaseH2 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 |
---|
DatabaseH2() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentContrib() |
RepositoryDescriptor |
getRepositoryDescriptor() |
void |
setUp() |
void |
setUp2() |
boolean |
supportsClustering()
For databases that don't support clustering.
|
void |
tearDown() |
doOnAllTables, getConnection, getRecursiveRemovalDepthLimit, hasSubSecondResolution, maybeSleepToNextSecond, setBinaryManager, setDatabaseForTests, setDatabaseName, setProperty, setRepositoryFactory, setRepositoryName, setSingleDataSourceMode, setSystemProperty, setUp, sleepForFulltext, supportsArrayColumns, supportsMultipleFulltextIndexes, supportsSequenceId, supportsSoftDelete, supportsXA
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 RepositoryDescriptor getRepositoryDescriptor()
getRepositoryDescriptor
in class DatabaseHelper
public boolean supportsClustering()
DatabaseHelper
supportsClustering
in class DatabaseHelper
Copyright © 2015 Nuxeo SA. All rights reserved.