public final class Oracle10R1ConnectionHelper extends OracleConnectionHelper
ConnectionHelper.RetryManager<T>
dataSource
Constructor and Description |
---|
Oracle10R1ConnectionHelper(DataSource dataSrc,
boolean block) |
Modifier and Type | Method and Description |
---|---|
protected PreparedStatement |
execute(PreparedStatement stmt,
Object[] params)
Wraps any input-stream parameters in temporary blobs and frees these again after the statement
has been executed.
|
void |
init()
Retrieve the
oracle.sql.BLOB class via reflection, and initialize the values for the
DURATION_SESSION and MODE_READWRITE constants defined there. |
replaceCharacter
closeResources, endBatch, exec, exec, getConnection, inBatchMode, prepareDbIdentifier, query, startBatch, tableExists, update
public Oracle10R1ConnectionHelper(DataSource dataSrc, boolean block)
dataSrc
- the DataSource
on which this helper actsblock
- whether to block on connection loss until the db is up againpublic void init() throws Exception
oracle.sql.BLOB
class via reflection, and initialize the values for the
DURATION_SESSION
and MODE_READWRITE
constants defined there.init
in class OracleConnectionHelper
Exception
- on errorprotected PreparedStatement execute(PreparedStatement stmt, Object[] params) throws SQLException
StreamWrapper
instances. Subclasses may override
this method to do something special with the parameters. E.g., the Oracle10R1ConnectionHelper
overrides it in order to add special blob handling.execute
in class ConnectionHelper
stmt
- the PreparedStatement
to executeparams
- the parametersSQLException
- on errorCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.