Package hermes.store.jdbc

Examples of hermes.store.jdbc.JDBCConnectionPool


  private ThreadLocal<Connection> writerTL = new ThreadLocal<Connection>();

  public SingleUserMessageStore(String storeId, String jdbcURL, boolean doCreate) throws JMSException {
    this.storeId = storeId;
    this.jdbcURL = jdbcURL;
    this.connectionPool = new JDBCConnectionPool(jdbcURL, 2, false);
    this.adapter = StoreUtils.getJDBCAdapter(jdbcURL);
    try {
      Connection connection = connectionPool.get();

      if (doCreate) {
View Full Code Here

TOP

Related Classes of hermes.store.jdbc.JDBCConnectionPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.