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
,DatabaseAware
public class MSSqlDatabaseJournal extends DatabaseJournal
It has the following property in addition to those of the DatabaseJournal:tableSpace
: the MS SQL tablespace to use
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.core.journal.DatabaseJournal
DatabaseJournal.DatabaseRevision, DatabaseJournal.RevisionTableJanitor
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description MSSqlDatabaseJournal()
Initialize this instance with the default schema and driver values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CheckSchemaOperation
createCheckSchemaOperation()
This method is called fromDatabaseJournal.init(String, NamespaceResolver)
after theDatabaseJournal.createConnectionHelper(DataSource)
method, and returns a defaultCheckSchemaOperation
.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, createConnectionHelper, 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, doSync, getConsumer, getId, getNamePathResolver, getProducer, getRepositoryHome, getResolver, getRevision, lockAndSync, register, setInternalVersionManager, setRepositoryHome, setRevision, sync, syncAgainOnNewRecords, unlock, unregister
-
-
-
-
Field Detail
-
tableSpace
protected String tableSpace
the MS SQL table space to use
-
-
Method Detail
-
createCheckSchemaOperation
protected CheckSchemaOperation createCheckSchemaOperation()
This method is called fromDatabaseJournal.init(String, NamespaceResolver)
after theDatabaseJournal.createConnectionHelper(DataSource)
method, and returns a defaultCheckSchemaOperation
. Subclasses can override this implementation to get a customized implementation.- Overrides:
createCheckSchemaOperation
in classDatabaseJournal
- Returns:
- a new
CheckSchemaOperation
instance
-
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.
-
-