Package org.javasimon.jdbc

Examples of org.javasimon.jdbc.SimonConnection


   *
   * @return  a connection to the data source
   * @exception SQLException if a database access error occurs
   */
  public Connection getConnection() throws SQLException {
    return new SimonConnection(datasource().getConnection(), prefix);
  }
View Full Code Here


   * @param password the user's password
   * @return  a connection to the data source
   * @exception SQLException if a database access error occurs
   */
  public Connection getConnection(String user, String password) throws SQLException {
    return new SimonConnection(datasource().getConnection(user, password), prefix);
  }
View Full Code Here

    this.prefix = prefix;
  }

  /** {@inheritDoc} */
  public Connection getConnection() throws SQLException {
    return new SimonConnection(pooledConn.getConnection(), prefix);
  }
View Full Code Here

TOP

Related Classes of org.javasimon.jdbc.SimonConnection

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.