Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » jdbc » adapter » [javadoc | source]
public class: BlobJDBCAdapter [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    InformixJDBCAdapter, OracleJDBCAdapter

This JDBCAdapter inserts and extracts BLOB data using the getBlob()/setBlob() operations. This is a little more involved since to insert a blob you have to: 1: insert empty blob. 2: select the blob 3: finally update the blob with data value. The databases/JDBC drivers that use this adapter are:
Fields inherited from
statements,  batchStatments
Method from Summary:
doAddMessage,   doGetMessage
Methods from
doAddMessage,   doAddMessageReference,   doCreateTables,   doDeleteOldMessages,   doDeleteSubscription,   doDropTables,   doGetAllSubscriptions,   doGetDestinations,   doGetDurableSubscriberMessageCount,   doGetLastAckedDurableSubscriberMessageId,   doGetLastMessageStoreSequenceId,   doGetMessage,   doGetMessageById,   doGetMessageCount,   doGetMessageReference,   doGetNextDurableSubscriberMessageStatement,   doGetSubscriberEntry,   doMessageIdScan,   doRecover,   doRecoverNextMessages,   doRecoverNextMessages,   doRecoverSubscription,   doRemoveAllMessages,   doRemoveMessage,   doSetLastAck,   doSetSubscriberEntry,   getBinaryData,   getStatements,   getStoreSequenceId,   isBatchStatments,   setBatchStatments,   setBinaryData,   setStatements,   setUseExternalMessageReferences
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public  void doAddMessage(Connection c,
    long seq,
    String messageID,
    String destinationName,
    byte[] data) throws SQLException, JMSException 
 public byte[] doGetMessage(TransactionContext c,
    long seq) throws SQLException