public class Oracle9PersistenceManager extends OraclePersistenceManager
OracleLegacyPersistenceManager
provides support for Oracle jdbc drivers prior to version 10
which require special handling of BLOB data.
Configuration:
bundleCacheSize
" value="8"/>
consistencyCheck
" value="false"/>
minBlobSize
" value="16384"/>
driver
" value="oracle.jdbc.OracleDriverr"/>
url
" value="jdbc:oracle:thin:@127.0.0.1:1521:xe"/>
user
" value=""/>
password
" value=""/>
schema
" value="oracle"/>
schemaObjectPrefix
" value="${wsp.name}_"/>
errorHandling
" value=""/>
BundleDbPersistenceManager.CloseableBLOBStore, BundleDbPersistenceManager.DbBlobStore, BundleDbPersistenceManager.FSBlobStore
DEFAULT_TABLESPACE_CLAUSE, INDEX_TABLESPACE_VARIABLE, indexTablespace, tablespace, TABLESPACE_VARIABLE
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 |
---|
Oracle9PersistenceManager() |
Modifier and Type | Method and Description |
---|---|
protected ConnectionHelper |
createConnectionHelper(DataSource dataSrc)
This method is called from the
BundleDbPersistenceManager.init(PMContext) method of this class and returns a
ConnectionHelper instance which is assigned to the conHelper field. |
createCheckSchemaOperation, createDbNameIndex, getIndexTablespace, getTablespace, init, setIndexTablespace, setTablespace
buildSQLStatements, close, createBlobStore, createDBBlobStore, createLocalFSBlobStore, createParams, destroy, destroyBundle, existsReferencesTo, getAllNodeIds, getAllNodeInfos, getBlobStore, getBlockOnConnectionLoss, getConsistencyCheck, getConsistencyFix, getDatabaseType, getDataSourceName, getDriver, getErrorHandling, getKey, getMinBlobSize, getNameIndex, getPassword, getSchema, getSchemaObjectPrefix, getStorageModel, getUrl, getUser, 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 ConnectionHelper createConnectionHelper(DataSource dataSrc) throws Exception
BundleDbPersistenceManager.init(PMContext)
method of this class and returns a
ConnectionHelper
instance which is assigned to the conHelper
field. Subclasses may
override it to return a specialized connection helper.createConnectionHelper
in class OraclePersistenceManager
dataSrc
- the DataSource
of this persistence managerConnectionHelper
Exception
- on errorCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.