|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.journal.AbstractJournal
org.apache.jackrabbit.core.journal.DatabaseJournal
org.apache.jackrabbit.core.journal.OracleDatabaseJournal
public class OracleDatabaseJournal
It has the following property in addition to those of the DatabaseJournal:
tablespace: the tablespace to use for tablesindexTablespace: the tablespace to use for indexes
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal |
|---|
DatabaseJournal.DatabaseRevision, DatabaseJournal.RevisionTableJanitor |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal |
|---|
cleanRevisionStmtSQL, getLocalRevisionStmtSQL, insertLocalRevisionStmtSQL, insertRevisionStmtSQL, schemaObjectPrefix, selectGlobalStmtSQL, selectMinLocalRevisionStmtSQL, selectRevisionsStmtSQL, updateGlobalStmtSQL, updateLocalRevisionStmtSQL |
| Constructor Summary | |
|---|---|
OracleDatabaseJournal()
|
|
| Method Summary | |
|---|---|
protected CheckSchemaOperation |
createCheckSchemaOperation()
This method is called from DatabaseJournal.init(String, NamespaceResolver) after the
DatabaseJournal.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation. |
protected ConnectionHelper |
createConnectionHelper(DataSource dataSrc)
This method is called from the DatabaseJournal.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. |
| Methods inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal |
|---|
append, appending, buildSQLStatements, close, doLock, doSync, doUnlock, getDatabaseType, getDataSourceName, getDriver, getInstanceRevision, getJanitorEnabled, getJanitorFirstRunHourOfDay, getJanitorSleep, getPassword, getRecords, getRecords, getSchema, getSchemaObjectPrefix, getUrl, getUser, init, init, initInstanceRevisionAndJanitor, isSchemaCheckEnabled, setConnectionFactory, setDatabaseType, setDataSourceName, setDriver, setJanitorEnabled, setJanitorFirstRunHourOfDay, setJanitorSleep, setPassword, setSchema, setSchemaCheckEnabled, setSchemaObjectPrefix, setUrl, setUser |
| Methods inherited from class org.apache.jackrabbit.core.journal.AbstractJournal |
|---|
createProducer, getConsumer, getId, getNamePathResolver, getProducer, getRepositoryHome, getResolver, getRevision, lockAndSync, register, setInternalVersionManager, setRepositoryHome, setRevision, sync, syncAgainOnNewRecords, unlock, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected 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
| Constructor Detail |
|---|
public OracleDatabaseJournal()
| Method Detail |
|---|
public String getTablespace()
public void setTablespace(String tablespaceName)
tablespaceName - the Oracle tablespace for tables.public String getIndexTablespace()
public void setIndexTablespace(String tablespaceName)
tablespace - the Oracle tablespace for indexes.
protected ConnectionHelper createConnectionHelper(DataSource dataSrc)
throws Exception
DatabaseJournal.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 DatabaseJournaldataSrc - the DataSource of this persistence manager
ConnectionHelper
Exception - on errorprotected CheckSchemaOperation createCheckSchemaOperation()
DatabaseJournal.init(String, NamespaceResolver) after the
DatabaseJournal.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation.
Subclasses can overrride this implementation to get a customized implementation.
createCheckSchemaOperation in class DatabaseJournalCheckSchemaOperation instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||