public class MSSqlPersistenceManager extends BundleDbPersistenceManager
BundleDbPersistenceManager
by MS-SQL specific code.
Configuration:
bundleCacheSize
" value="8"/>
consistencyCheck
" value="false"/>
minBlobSize
" value="16384"/>
driver
" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
url
" value=""/>
user
" value=""/>
password
" value=""/>
schema
" value="mssql"/>
schemaObjectPrefix
" value=""/>
errorHandling
" value=""/>
tableSpace
" value=""/>
BundleDbPersistenceManager.CloseableBLOBStore, BundleDbPersistenceManager.DbBlobStore, BundleDbPersistenceManager.FSBlobStore
Modifier and Type | Field and Description |
---|---|
protected String |
tableSpace
the MS SQL table space to use
|
binding, blobStore, blockOnConnectionLoss, bundleDeleteSQL, bundleInsertSQL, bundleSelectAllBundlesFromSQL, bundleSelectAllBundlesSQL, 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
context, NODEFILENAME, NODEREFSFILENAME, RES_NAME_INDEX, RES_NS_INDEX
ACCESS_INTERVAL
Constructor and Description |
---|
MSSqlPersistenceManager() |
Modifier and Type | Method and Description |
---|---|
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.
|
buildSQLStatements, close, createBlobStore, createConnectionHelper, createDBBlobStore, createDbNameIndex, createLocalFSBlobStore, createParams, destroy, destroyBundle, existsReferencesTo, getAllNodeIds, getAllNodeInfos, 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
buildBlobFilePath, buildNodeFilePath, buildNodeFolderPath, buildNodeReferencesFilePath, buildPropFilePath, cacheAccessed, check, checkConsistency, createNew, createNew, disposeCache, evictBundle, exists, exists, getBundleCacheSize, getNsIndex, load, load, onExternalUpdate, setBundleCacheSize, setEventChannel
protected String tableSpace
protected CheckSchemaOperation createCheckSchemaOperation()
BundleDbPersistenceManager.init(PMContext)
after the
BundleDbPersistenceManager.createConnectionHelper(DataSource)
method, and returns a default CheckSchemaOperation
.
Subclasses can overrride this implementation to get a customized implementation.createCheckSchemaOperation
in class BundleDbPersistenceManager
CheckSchemaOperation
instancepublic String getTableSpace()
public void setTableSpace(String tableSpace)
tableSpace
- the MS SQL table space.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.