Package org.nuxeo.ecm.core.storage.sql
Class DatabaseMySQL
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.DatabaseHelper
-
- org.nuxeo.ecm.core.storage.sql.DatabaseMySQL
-
public class DatabaseMySQL extends DatabaseHelper
- Author:
- Florent Guillaume
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
DATABASE, DATABASE_PROPERTY, databaseName, DB_CLASS_NAME_BASE, DB_DEFAULT, DB_PROPERTY, DEF_ID_TYPE, DEFAULT_DATABASE_NAME, defaultBinaryManager, DRIVER_PROPERTY, ID_TYPE_PROPERTY, owner, PASSWORD_PROPERTY, PORT_PROPERTY, SERVER_PROPERTY, URL_PROPERTY, USER_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description DatabaseMySQL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeploymentContrib()intgetRecursiveRemovalDepthLimit()For databases that fail to cascade deletes beyond a certain depth.RepositoryDescriptorgetRepositoryDescriptor()voidsetUp()booleansupportsClustering()For databases that don't support clustering.-
Methods inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
doOnAllTables, executeSql, getConnection, setBinaryManager, setDatabaseForTests, setDatabaseName, setOwner, setProperty, setSystemProperty, sleepForFulltext, supportsArrayColumns, supportsFulltextSearch, supportsMultipleFulltextIndexes, supportsSequenceId, supportsSoftDelete, supportsXA, tearDown
-
-
-
-
Method Detail
-
setUp
public void setUp() throws SQLException- Overrides:
setUpin classDatabaseHelper- Throws:
SQLException
-
getDeploymentContrib
public String getDeploymentContrib()
- Specified by:
getDeploymentContribin classDatabaseHelper
-
getRepositoryDescriptor
public RepositoryDescriptor getRepositoryDescriptor()
- Specified by:
getRepositoryDescriptorin classDatabaseHelper
-
getRecursiveRemovalDepthLimit
public int getRecursiveRemovalDepthLimit()
Description copied from class:DatabaseHelperFor databases that fail to cascade deletes beyond a certain depth.- Overrides:
getRecursiveRemovalDepthLimitin classDatabaseHelper
-
supportsClustering
public boolean supportsClustering()
Description copied from class:DatabaseHelperFor databases that don't support clustering.- Overrides:
supportsClusteringin classDatabaseHelper
-
-