Class MSSqlDatabaseJournal

  extended by org.apache.jackrabbit.core.journal.AbstractJournal
      extended by org.apache.jackrabbit.core.journal.DatabaseJournal
          extended by org.apache.jackrabbit.core.journal.MSSqlDatabaseJournal
All Implemented Interfaces:

public class MSSqlDatabaseJournal
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
protected  String tableSpace
          the MS SQL 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
          Initialize this instance with the default schema and driver values.
Method Summary
protected  String createSchemaSQL(String sql)
          Creates an SQL statement for schema creation by variable substitution.
 String getTableSpace()
          Returns the configured MS SQL table space.
 void setTableSpace(String tableSpace)
          Sets the MS SQL table space.
Methods inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal
append, appending, buildSQLStatements, close, doLock, doUnlock, getConnection, getDatabaseType, getDriver, getInstanceRevision, getJanitorEnabled, getJanitorFirstRunHourOfDay, getJanitorSleep, getPassword, getReconnectDelayMs, getRecords, getRecords, getSchema, getSchemaObjectPrefix, getUrl, getUser, init, init, initInstanceRevisionAndJanitor, isSchemaCheckEnabled, setDatabaseType, setDriver, setJanitorEnabled, setJanitorFirstRunHourOfDay, setJanitorSleep, setPassword, setReconnectDelayMs, setSchema, setSchemaCheckEnabled, 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

Field Detail


protected String tableSpace
the MS SQL table space to use

Constructor Detail


public MSSqlDatabaseJournal()
Initialize this instance with the default schema and driver values.

Method Detail


public String getTableSpace()
Returns the configured MS SQL table space.

the configured MS SQL table space.


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

tableSpace - the MS SQL table space.


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

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

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