Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class DatabaseMySQL
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
DatabaseMySQL()
           
 
Method Summary
 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.
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
doOnAllTables, getPooledDeploymentContrib, maybeSleepToNextSecond, setDatabaseForTests, setDatabaseName, setProperty, setRepositoryName, sleepForFulltext, supportsMultipleFulltextIndexes, tearDown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static DatabaseHelper INSTANCE
Constructor Detail

DatabaseMySQL

public DatabaseMySQL()
Method Detail

setUp

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

getDeploymentContrib

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

getRepositoryDescriptor

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

hasSubSecondResolution

public boolean hasSubSecondResolution()
Description copied from class: DatabaseHelper
For databases that don't have subsecond resolution, like MySQL.

Overrides:
hasSubSecondResolution in class DatabaseHelper

getRecursiveRemovalDepthLimit

public int getRecursiveRemovalDepthLimit()
Description copied from class: DatabaseHelper
For databases that fail to cascade deletes beyond a certain depth.

Overrides:
getRecursiveRemovalDepthLimit 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.