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