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

public class OracleDatabaseJournal
extends DatabaseJournal

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


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
insertRevisionStmtSQL, schemaObjectPrefix, selectGlobalStmtSQL, selectRevisionsStmtSQL, updateGlobalStmtSQL
 
Constructor Summary
OracleDatabaseJournal()
           
 
Method Summary
protected  String createSchemaSQL(String sql)
          Creates an SQL statement for schema creation by variable substitution.
 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, getConnection, getDriver, getPassword, getReconnectDelayMs, getRecords, getSchema, getSchemaObjectPrefix, getUrl, getUser, init, init, schemaExists, setDriver, setPassword, setReconnectDelayMs, setSchema, setSchemaObjectPrefix, setUrl, setUser
 
Methods inherited from class org.apache.jackrabbit.core.journal.AbstractJournal
createProducer, doSync, getConsumer, getId, getNamePathResolver, getProducer, getResolver, lockAndSync, register, 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

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.

createSchemaSQL

protected String createSchemaSQL(String sql)
Creates an SQL statement for schema creation by variable substitution.

Overrides:
createSchemaSQL in class DatabaseJournal
Parameters:
sql - a SQL string which may contain variables to substitute
Returns:
a valid SQL string


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