org.apache.jackrabbit.core.journal
Class OracleDatabaseJournal

java.lang.Object
  extended by org.apache.jackrabbit.core.journal.AbstractJournal
      extended by org.apache.jackrabbit.core.journal.DatabaseJournal
          extended by org.apache.jackrabbit.core.journal.OracleDatabaseJournal
All Implemented Interfaces:
Journal, DatabaseAware

public class OracleDatabaseJournal
extends DatabaseJournal

It has the following property in addition to those of the DatabaseJournal:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal
DatabaseJournal.DatabaseRevision, DatabaseJournal.RevisionTableJanitor
 
Field Summary
static String TABLE_SPACE_VARIABLE
          the variable for the Oracle table space
protected  String tableSpace
          the Oracle table space to use
 
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 getTableSpace()
          Returns the configured Oracle table space.
 void setTableSpace(String tableSpace)
          Sets the Oracle table space.
 
Methods inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal
append, appending, buildSQLStatements, close, doLock, 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, doSync, getConsumer, getId, getNamePathResolver, getProducer, getRepositoryHome, getResolver, getRevision, lockAndSync, register, setRepositoryHome, setRevision, sync, unlock, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_SPACE_VARIABLE

public static final String TABLE_SPACE_VARIABLE
the variable for the Oracle table space

See Also:
Constant Field Values

tableSpace

protected String tableSpace
the Oracle table space to use

Constructor Detail

OracleDatabaseJournal

public OracleDatabaseJournal()
Method Detail

createConnectionHelper

protected ConnectionHelper createConnectionHelper(DataSource dataSrc)
                                           throws Exception
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. Subclasses may override it to return a specialized connection helper.

Overrides:
createConnectionHelper in class DatabaseJournal
Parameters:
dataSrc - the DataSource of this persistence manager
Returns:
a ConnectionHelper
Throws:
Exception - on error

createCheckSchemaOperation

protected CheckSchemaOperation createCheckSchemaOperation()
This method is called from 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.

Overrides:
createCheckSchemaOperation in class DatabaseJournal
Returns:
a new CheckSchemaOperation instance

getTableSpace

public String getTableSpace()
Returns the configured Oracle table space.

Returns:
the configured Oracle table space.

setTableSpace

public void setTableSpace(String tableSpace)
Sets the Oracle table space.

Parameters:
tableSpace - the Oracle table space.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.