All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.app.common.db.IDBPool Maven / Gradle / Ivy

The newest version!
package com.app.common.db;

import com.alibaba.druid.pool.DruidDataSource;

import java.sql.Connection;
import java.sql.SQLException;

public abstract interface IDBPool
{
  public abstract Connection getConnection()
    throws SQLException;

  public abstract Connection getConnection(String paramString)
    throws SQLException;

  @Deprecated
  public abstract void freeConnection(Connection paramConnection)
    throws SQLException;

  @Deprecated
  public abstract void freeConnection(String paramString, Connection paramConnection)
    throws SQLException;

  public abstract void closeAll();

  public abstract Connection getLongConnection(String paramString)
    throws SQLException;

  public abstract Connection getLongConnection()
    throws SQLException;

  public abstract DruidDataSource getDruidDataSource(String sourceName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy