public class JahiaOracleDatabaseJournal extends JahiaDatabaseJournal
JahiaDatabaseJournal.DatabaseRevision, JahiaDatabaseJournal.RevisionTableJanitor| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_TABLESPACE_CLAUSE
The default tablespace clause used when
tablespace or indexTablespace
are not specified. |
protected static String |
INDEX_TABLESPACE_VARIABLE
Name of the replacement variable in the DDL for
indexTablespace. |
protected String |
indexTablespace
The Oracle tablespace to use for indexes
|
protected String |
tablespace
The Oracle tablespace to use for tables
|
protected static String |
TABLESPACE_VARIABLE
Name of the replacement variable in the DDL for
tablespace. |
cleanRevisionStmtSQL, DEFAULT_JANITOR_SLEEP, getLocalRevisionStmtSQL, insertLocalRevisionStmtSQL, insertRevisionStmtSQL, schemaObjectPrefix, selectGlobalStmtSQL, selectMinLocalRevisionStmtSQL, selectRevisionsStmtSQL, updateGlobalStmtSQL, updateLocalRevisionStmtSQLDEFAULT_MAX_LOCK_TIME, MAX_LOCK_TIME_INT, MAX_LOCK_TIME_LONG, RETRY_COUNT| Constructor and Description |
|---|
JahiaOracleDatabaseJournal()
Initialize this instance with the default schema and driver values.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.jackrabbit.core.util.db.CheckSchemaOperation |
createCheckSchemaOperation()
This method is called from
JahiaDatabaseJournal.init(String, NamespaceResolver) after the
JahiaDatabaseJournal.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation. |
protected org.apache.jackrabbit.core.util.db.ConnectionHelper |
createConnectionHelper(DataSource dataSrc)
This method is called from the
JahiaDatabaseJournal.init(String, NamespaceResolver) method of this class and
returns a ConnectionHelper instance which is assigned to the conHelper field. |
String |
getIndexTablespace()
Returns the configured Oracle tablespace for indexes.
|
String |
getTablespace()
Returns the configured Oracle tablespace for tables.
|
void |
setIndexTablespace(String tablespaceName)
Sets the Oracle tablespace for indexes.
|
void |
setTablespace(String tablespaceName)
Sets the Oracle tablespace for tables.
|
append, appending, buildSQLStatements, close, doLock, doSync, doUnlock, getDatabaseType, getDataSourceName, getDriver, getInstanceRevision, getJanitorEnabled, getJanitorFirstRunHourOfDay, getJanitorSleep, getLockedRevision, getPassword, getRecords, getRecords, getSchema, getSchemaObjectPrefix, getUrl, getUser, init, init, initInstanceRevisionAndJanitor, isSchemaCheckEnabled, setConnectionFactory, setDatabaseType, setDataSourceName, setDriver, setJanitorEnabled, setJanitorFirstRunHourOfDay, setJanitorSleep, setPassword, setSchema, setSchemaCheckEnabled, setSchemaObjectPrefix, setUrl, setUserdoSync, doSync, getMaxLockedSyncTime, lockAndSync, register, setInternalVersionManager, setMaxLockedSyncTime, sync, unlock, unregisterprotected static final String DEFAULT_TABLESPACE_CLAUSE
tablespace or indexTablespace
are not specified.protected static final String TABLESPACE_VARIABLE
tablespace.protected static final String INDEX_TABLESPACE_VARIABLE
indexTablespace.protected String tablespace
protected String indexTablespace
public JahiaOracleDatabaseJournal()
public String getTablespace()
public void setTablespace(String tablespaceName)
tablespaceName - the Oracle tablespace for tables.public String getIndexTablespace()
public void setIndexTablespace(String tablespaceName)
tablespaceName - the Oracle tablespace for indexes.protected org.apache.jackrabbit.core.util.db.ConnectionHelper createConnectionHelper(DataSource dataSrc) throws Exception
JahiaDatabaseJournal.init(String, NamespaceResolver) method of this class and
returns a ConnectionHelper instance which is assigned to the conHelper field.
Subclasses may override it to return a specialized connection helper.createConnectionHelper in class JahiaDatabaseJournaldataSrc - the DataSource of this persistence managerConnectionHelperException - on errorprotected org.apache.jackrabbit.core.util.db.CheckSchemaOperation createCheckSchemaOperation()
JahiaDatabaseJournal.init(String, NamespaceResolver) after the
JahiaDatabaseJournal.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation.
Subclasses can overrride this implementation to get a customized implementation.createCheckSchemaOperation in class JahiaDatabaseJournalCheckSchemaOperation instanceCopyright © 2004–2021 Jahia Solutions Group SA. All rights reserved.