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 String
getDeploymentContrib()
int
getRecursiveRemovalDepthLimit()
For databases that fail to cascade deletes beyond a certain depth.RepositoryDescriptor
getRepositoryDescriptor()
void
setUp()
boolean
supportsClustering()
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:
setUp
in classDatabaseHelper
- Throws:
SQLException
-
getDeploymentContrib
public String getDeploymentContrib()
- Specified by:
getDeploymentContrib
in classDatabaseHelper
-
getRepositoryDescriptor
public RepositoryDescriptor getRepositoryDescriptor()
- Specified by:
getRepositoryDescriptor
in classDatabaseHelper
-
getRecursiveRemovalDepthLimit
public int getRecursiveRemovalDepthLimit()
Description copied from class:DatabaseHelper
For databases that fail to cascade deletes beyond a certain depth.- Overrides:
getRecursiveRemovalDepthLimit
in classDatabaseHelper
-
supportsClustering
public boolean supportsClustering()
Description copied from class:DatabaseHelper
For databases that don't support clustering.- Overrides:
supportsClustering
in classDatabaseHelper
-
-