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

All Implemented Interfaces:
    JDBCAdapter

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 org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter:
statements,  batchStatments
Method from org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter Summary:
doAddMessage,   doGetMessage
Methods from org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter:
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 org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter 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