org.apache.jackrabbit.core.journal
Class MSSqlDatabaseJournal
java.lang.Object
org.apache.jackrabbit.core.journal.AbstractJournal
org.apache.jackrabbit.core.journal.DatabaseJournal
org.apache.jackrabbit.core.journal.MSSqlDatabaseJournal
- All Implemented Interfaces:
- Journal
public class MSSqlDatabaseJournal
- extends DatabaseJournal
It has the following property in addition to those of the DatabaseJournal:
tableSpace
: the MS SQL tablespace to use
Constructor Summary |
MSSqlDatabaseJournal()
Initialize this instance with the default schema and
driver values. |
Methods inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal |
append, appending, buildSQLStatements, close, doLock, doUnlock, getConnection, getDriver, getInstanceRevision, getJanitorEnabled, getJanitorFirstRunHourOfDay, getJanitorSleep, getPassword, getReconnectDelayMs, getRecords, getSchema, getSchemaObjectPrefix, getUrl, getUser, init, init, initInstanceRevisionAndJanitor, setDriver, setJanitorEnabled, setJanitorFirstRunHourOfDay, setJanitorSleep, setPassword, setReconnectDelayMs, setSchema, setSchemaObjectPrefix, setUrl, setUser, tableExists |
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 |
tableSpace
protected String tableSpace
- the MS SQL table space to use
MSSqlDatabaseJournal
public MSSqlDatabaseJournal()
- Initialize this instance with the default schema and
driver values.
getTableSpace
public String getTableSpace()
- Returns the configured MS SQL table space.
- Returns:
- the configured MS SQL table space.
setTableSpace
public void setTableSpace(String tableSpace)
- Sets the MS SQL table space.
- Parameters:
tableSpace
- the MS SQL 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.