org.apache.jackrabbit.core.persistence.pool
Class MSSqlPersistenceManager
java.lang.Object
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager
org.apache.jackrabbit.core.persistence.pool.MSSqlPersistenceManager
- All Implemented Interfaces:
- CachingPersistenceManager, IterablePersistenceManager, PersistenceManager, DatabaseAware
public class MSSqlPersistenceManager
- extends BundleDbPersistenceManager
Extends the BundleDbPersistenceManager
by MS-SQL specific code.
Configuration:
Fields inherited from class org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager |
binding, blobStore, blockOnConnectionLoss, bundleDeleteSQL, bundleInsertSQL, bundleSelectAllIdsFromSQL, bundleSelectAllIdsSQL, bundleSelectSQL, bundleUpdateSQL, conHelper, consistencyCheck, consistencyFix, databaseType, dataSourceName, driver, errorHandling, externalBLOBs, INITIAL_BUFFER_SIZE, initialized, nodeReferenceDeleteSQL, nodeReferenceInsertSQL, nodeReferenceSelectSQL, nodeReferenceUpdateSQL, password, schemaObjectPrefix, SM_BINARY_KEYS, SM_LONGLONG_KEYS, url, user |
Methods inherited from class org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager |
buildSQLStatements, checkBundleConsistency, checkConsistency, close, createBlobStore, createConnectionHelper, createDBBlobStore, createDbNameIndex, createLocalFSBlobStore, createParams, destroy, destroyBundle, existsReferencesTo, getAllNodeIds, getBlobStore, getBlockOnConnectionLoss, getConsistencyCheck, getConsistencyFix, getDatabaseType, getDataSourceName, getDriver, getErrorHandling, getKey, getMinBlobSize, getNameIndex, getPassword, getSchema, getSchemaObjectPrefix, getStorageModel, getUrl, getUser, init, isExternalBLOBs, isSchemaCheckEnabled, loadBundle, loadReferencesTo, setBlockOnConnectionLoss, setConnectionFactory, setConsistencyCheck, setConsistencyFix, setDatabaseType, setDataSourceName, setDriver, setErrorHandling, setExternalBLOBs, setMinBlobSize, setPassword, setSchema, setSchemaCheckEnabled, setSchemaObjectPrefix, setUrl, setUser, store, store, storeBundle, toString, useDbBlobStore, useLocalFsBlobStore |
Methods inherited from class org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager |
buildBlobFilePath, buildNodeFilePath, buildNodeFolderPath, buildNodeReferencesFilePath, buildPropFilePath, createNew, createNew, evictBundle, exists, exists, getBundleCacheSize, getNsIndex, load, load, onExternalUpdate, setBundleCacheSize |
tableSpace
protected String tableSpace
- the MS SQL table space to use
MSSqlPersistenceManager
public MSSqlPersistenceManager()
createCheckSchemaOperation
protected CheckSchemaOperation createCheckSchemaOperation()
- This method is called from
BundleDbPersistenceManager.init(PMContext)
after the
BundleDbPersistenceManager.createConnectionHelper(DataSource)
method, and returns a default CheckSchemaOperation
.
Subclasses can overrride this implementation to get a customized implementation.
- Overrides:
createCheckSchemaOperation
in class BundleDbPersistenceManager
- 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.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.