Class Oracle10R1ConnectionHelper
- java.lang.Object
-
- org.apache.jackrabbit.core.util.db.ConnectionHelper
-
- org.apache.jackrabbit.core.util.db.OracleConnectionHelper
-
- org.apache.jackrabbit.core.util.db.Oracle10R1ConnectionHelper
-
public final class Oracle10R1ConnectionHelper extends OracleConnectionHelper
The connection helper for Oracle databases of version up to 10.1. It has special blob handling.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.core.util.db.ConnectionHelper
ConnectionHelper.RetryManager<T>
-
-
Constructor Summary
Constructors Constructor Description Oracle10R1ConnectionHelper(DataSource dataSrc, boolean block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
Retrieve theoracle.sql.BLOB
class via reflection, and initialize the values for theDURATION_SESSION
andMODE_READWRITE
constants defined there.-
Methods inherited from class org.apache.jackrabbit.core.util.db.ConnectionHelper
endBatch, exec, exec, prepareDbIdentifier, query, startBatch, tableExists, update
-
-
-
-
Constructor Detail
-
Oracle10R1ConnectionHelper
public Oracle10R1ConnectionHelper(DataSource dataSrc, boolean block)
- Parameters:
dataSrc
- theDataSource
on which this helper actsblock
- whether to block on connection loss until the db is up again
-
-
Method Detail
-
init
public void init() throws Exception
Retrieve theoracle.sql.BLOB
class via reflection, and initialize the values for theDURATION_SESSION
andMODE_READWRITE
constants defined there.- Overrides:
init
in classOracleConnectionHelper
- Throws:
Exception
- on error
-
-