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

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
      extended by org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
          extended by org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager
All Implemented Interfaces:
CachingPersistenceManager, IterablePersistenceManager, PersistenceManager

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.bundle.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.bundle.BundleDbPersistenceManager
binding, blobStore, blockOnConnectionLoss, bundleDeleteSQL, bundleInsertSQL, bundleSelectAllIdsFromSQL, bundleSelectAllIdsSQL, bundleSelectSQL, bundleUpdateSQL, connectionManager, consistencyCheck, consistencyFix, driver, errorHandling, externalBLOBs, INITIAL_BUFFER_SIZE, initialized, nodeReferenceDeleteSQL, nodeReferenceInsertSQL, nodeReferenceSelectSQL, nodeReferenceUpdateSQL, password, schema, SCHEMA_OBJECT_PREFIX_VARIABLE, 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  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.persistence.bundle.BundleDbPersistenceManager
buildSQLStatements, checkBundleConsistency, checkConsistency, checkSchema, checkTablesExist, checkTablesWithUser, close, closeResultSet, closeStatement, createBlobStore, createDBBlobStore, createDbNameIndex, createLocalFSBlobStore, createParams, destroy, destroyBundle, exists, existsBundle, getAllNodeIds, getBinding, getBlockOnConnectionLoss, getConsistencyCheck, getConsistencyFix, getDriver, getErrorHandling, getKey, getMinBlobSize, getNameIndex, getPassword, getSchema, getSchemaObjectPrefix, getStorageModel, getUrl, getUser, init, isExternalBLOBs, load, loadBundle, loadBundle, logException, prepareSchemaObjectPrefix, resetStatement, setBlockOnConnectionLoss, setConsistencyCheck, setConsistencyFix, setDriver, setErrorHandling, setExternalBLOBs, setKey, setMinBlobSize, setPassword, setSchema, 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

createSchemaSQL

protected String createSchemaSQL(String sql)
Description copied from class: BundleDbPersistenceManager
Creates an SQL statement for schema creation by variable substitution.

Overrides:
createSchemaSQL in class BundleDbPersistenceManager
Parameters:
sql - a SQL string which may contain variables to substitute
Returns:
a valid SQL string

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-2008 The Apache Software Foundation. All Rights Reserved.