org.apache.activemq.store.jdbc.adapter
Class PostgresqlJDBCAdapter

java.lang.Object
  extended by org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
      extended by org.apache.activemq.store.jdbc.adapter.BytesJDBCAdapter
          extended by org.apache.activemq.store.jdbc.adapter.PostgresqlJDBCAdapter
All Implemented Interfaces:
JDBCAdapter

public class PostgresqlJDBCAdapter
extends BytesJDBCAdapter

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
 String acksPkName
           
 
Fields inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
batchStatments, cleanupExclusiveLock, MAX_ROWS, maxRows, prioritizedMessages, statements
 
Constructor Summary
PostgresqlJDBCAdapter()
           
 
Method Summary
 void setAcksPkName(String acksPkName)
           
 void setStatements(Statements statements)
           
 
Methods inherited from class org.apache.activemq.store.jdbc.adapter.BytesJDBCAdapter
getBinaryData, setBinaryData
 
Methods inherited from class org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
close, close, doAddMessage, doAddMessageReference, doClearLastAck, doCommitAddOp, doCreateTables, doDeleteOldMessages, doDeleteSubscription, doDropTables, doGetAllSubscriptions, doGetDestinations, doGetDurableSubscriberMessageCount, doGetLastAckedDurableSubscriberMessageId, doGetLastMessageStoreSequenceId, doGetLastProducerSequenceId, doGetMessage, doGetMessageById, doGetMessageCount, doGetMessageReference, doGetSubscriberEntry, doMessageIdScan, doRecordDestination, doRecover, doRecoverNextMessages, doRecoverNextMessages, doRecoverNextMessagesWithPriority, doRecoverPreparedOps, doRecoverSubscription, doRemoveAllMessages, doRemoveMessage, doSetLastAck, doSetLastAckWithPriority, doSetSubscriberEntry, dumpTables, dumpTables, getMaxRows, getStatements, getStoreSequenceId, isBatchStatments, printQuery, printQuery, setBatchStatments, setMaxRows, setUseExternalMessageReferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

acksPkName

public String acksPkName
Constructor Detail

PostgresqlJDBCAdapter

public PostgresqlJDBCAdapter()
Method Detail

setStatements

public void setStatements(Statements statements)
Specified by:
setStatements in interface JDBCAdapter
Overrides:
setStatements in class DefaultJDBCAdapter

setAcksPkName

public void setAcksPkName(String acksPkName)


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.