org.apache.jackrabbit.core.persistence.pool
Class MSSqlPersistenceManager

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
      extended by org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager
          extended by 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:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager
BundleDbPersistenceManager.CloseableBLOBStore, BundleDbPersistenceManager.DbBlobStore, BundleDbPersistenceManager.FSBlobStore
 
Field Summary
protected  String tableSpace
          the MS SQL table space to use
 
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
 
Fields inherited from class org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
context, NODEFILENAME, NODEREFSFILENAME, RES_NAME_INDEX, RES_NS_INDEX
 
Constructor Summary
MSSqlPersistenceManager()
           
 
Method Summary
protected  CheckSchemaOperation createCheckSchemaOperation()
          This method is called from BundleDbPersistenceManager.init(PMContext) after the BundleDbPersistenceManager.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation.
 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.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tableSpace

protected String tableSpace
the MS SQL table space to use

Constructor Detail

MSSqlPersistenceManager

public MSSqlPersistenceManager()
Method Detail

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.