Package org.nuxeo.ecm.core.storage.sql
Class DatabaseSQLServer
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.DatabaseHelper
-
- org.nuxeo.ecm.core.storage.sql.DatabaseSQLServer
-
public class DatabaseSQLServer 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 DatabaseSQLServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkSupports(Connection connection)
String
getDeploymentContrib()
RepositoryDescriptor
getRepositoryDescriptor()
void
setUp()
void
sleepForFulltext()
For databases that do asynchronous fulltext indexing, sleep a bit.boolean
supportsClustering()
For databases that don't support clustering.boolean
supportsMultipleFulltextIndexes()
boolean
supportsSequenceId()
Whether this database supports "sequence" as an id type.boolean
supportsSoftDelete()
boolean
supportsXA()
-
Methods inherited from class org.nuxeo.ecm.core.storage.sql.DatabaseHelper
doOnAllTables, executeSql, getConnection, getRecursiveRemovalDepthLimit, setBinaryManager, setDatabaseForTests, setDatabaseName, setOwner, setProperty, setSystemProperty, supportsArrayColumns, supportsFulltextSearch, 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
-
sleepForFulltext
public void sleepForFulltext()
Description copied from class:DatabaseHelper
For databases that do asynchronous fulltext indexing, sleep a bit.- Overrides:
sleepForFulltext
in classDatabaseHelper
-
checkSupports
protected void checkSupports(Connection connection) throws SQLException
- Throws:
SQLException
-
supportsMultipleFulltextIndexes
public boolean supportsMultipleFulltextIndexes()
- Overrides:
supportsMultipleFulltextIndexes
in classDatabaseHelper
-
supportsClustering
public boolean supportsClustering()
Description copied from class:DatabaseHelper
For databases that don't support clustering.- Overrides:
supportsClustering
in classDatabaseHelper
-
supportsXA
public boolean supportsXA()
- Overrides:
supportsXA
in classDatabaseHelper
-
supportsSoftDelete
public boolean supportsSoftDelete()
- Overrides:
supportsSoftDelete
in classDatabaseHelper
-
supportsSequenceId
public boolean supportsSequenceId()
Description copied from class:DatabaseHelper
Whether this database supports "sequence" as an id type.- Overrides:
supportsSequenceId
in classDatabaseHelper
-
-