Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql
Class DatabaseH2

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.DatabaseHelper
      extended by org.nuxeo.ecm.core.storage.sql.DatabaseH2

public class DatabaseH2
extends DatabaseHelper

Author:
Florent Guillaume

Field Summary
static DatabaseHelper INSTANCE
           
 
Fields inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
DATABASE, DATABASE_PROPERTY, DB_CLASS_NAME_BASE, DB_DEFAULT, DB_PROPERTY, DRIVER_PROPERTY, PASSWORD_PROPERTY, PORT_PROPERTY, REPOSITORY_PROPERTY, SERVER_PROPERTY, URL_PROPERTY, USER_PROPERTY
 
Constructor Summary
DatabaseH2()
           
 
Method Summary
 String getDeploymentContrib()
           
 String getPooledDeploymentContrib()
           
 RepositoryDescriptor getRepositoryDescriptor()
           
 void setUp()
           
 boolean supportsClustering()
          For databases that don't support clustering.
 void tearDown()
           
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
doOnAllTables, getRecursiveRemovalDepthLimit, hasSubSecondResolution, maybeSleepToNextSecond, setDatabaseForTests, setDatabaseName, setProperty, setRepositoryName, sleepForFulltext, supportsMultipleFulltextIndexes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DatabaseHelper INSTANCE
Constructor Detail

DatabaseH2

public DatabaseH2()
Method Detail

setUp

public void setUp()
           throws Exception
Specified by:
setUp in class DatabaseHelper
Throws:
Exception

tearDown

public void tearDown()
              throws SQLException
Overrides:
tearDown in class DatabaseHelper
Throws:
SQLException

getDeploymentContrib

public String getDeploymentContrib()
Specified by:
getDeploymentContrib in class DatabaseHelper

getPooledDeploymentContrib

public String getPooledDeploymentContrib()
Overrides:
getPooledDeploymentContrib in class DatabaseHelper

getRepositoryDescriptor

public RepositoryDescriptor getRepositoryDescriptor()
Specified by:
getRepositoryDescriptor in class DatabaseHelper

supportsClustering

public boolean supportsClustering()
Description copied from class: DatabaseHelper
For databases that don't support clustering.

Overrides:
supportsClustering in class DatabaseHelper

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.