Class OracleBlobJDBCAdapter
- java.lang.Object
-
- org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
-
- org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter
-
- org.apache.activemq.store.jdbc.adapter.OracleBlobJDBCAdapter
-
- All Implemented Interfaces:
JDBCAdapter
public class OracleBlobJDBCAdapter extends BlobJDBCAdapter
Implements all the default JDBC operations that are used by the JDBCPersistenceAdapter. Subclassing is encouraged to override the default implementation of methods to account for differences in JDBC Driver implementations. The JDBCAdapter inserts and extracts BLOB data using the getBytes()/setBytes() operations. The databases/JDBC drivers that use this adapter are:
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
batchStatments, MAX_ROWS, maxRows, prioritizedMessages, statements
-
-
Constructor Summary
Constructors Constructor Description OracleBlobJDBCAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
getBinaryData(ResultSet rs, int index)
void
setStatements(Statements statements)
-
Methods inherited from class org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter
doAddMessage, doGetMessage
-
Methods inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
close, close, doAddMessageReference, doClearLastAck, doCommitAddOp, doCreateTables, doDeleteOldMessages, doDeleteSubscription, doDropTables, doGetAllSubscriptions, doGetDestinations, doGetDurableSubscriberMessageCount, doGetLastAckedDurableSubscriberMessageId, doGetLastMessageStoreSequenceId, doGetLastProducerSequenceId, doGetMessageById, doGetMessageCount, doGetMessageReference, doGetSubscriberEntry, doMessageIdScan, doRecordDestination, doRecover, doRecoverNextMessages, doRecoverNextMessages, doRecoverNextMessagesWithPriority, doRecoverPreparedOps, doRecoverSubscription, doRemoveAllMessages, doRemoveMessage, doSetLastAck, doSetLastAckWithPriority, doSetSubscriberEntry, doUpdateMessage, dumpTables, dumpTables, getMaxRows, getStatements, getStoreSequenceId, isBatchStatements, isBatchStatments, limitQuery, printQuery, printQuery, setBatchStatements, setBatchStatments, setBinaryData, setMaxRows, setUseExternalMessageReferences
-
-
-
-
Method Detail
-
setStatements
public void setStatements(Statements statements)
- Specified by:
setStatements
in interfaceJDBCAdapter
- Overrides:
setStatements
in classBlobJDBCAdapter
-
getBinaryData
protected byte[] getBinaryData(ResultSet rs, int index) throws SQLException
- Overrides:
getBinaryData
in classDefaultJDBCAdapter
- Throws:
SQLException
-
-