com.basecmp.core.jdbc
Class SimplePooledMySqlConnection

java.lang.Object
  extended bycom.basecmp.core.jdbc.SimplePooledMySqlConnection
All Implemented Interfaces:
IConnectionFactory

public class SimplePooledMySqlConnection
extends java.lang.Object
implements IConnectionFactory

BCSimplePooledConnection.java Project: BaseCMP Framework Creation-Date: 15.02.2003

Author:
Wolfgang Schröder

Constructor Summary
SimplePooledMySqlConnection()
           
 
Method Summary
 void freeConnection(java.sql.Connection connection)
          Befreit und schliesst ggf die übergebene, anonyme JDBC-Connection (implmentierungsabhängig).
 void freeConnection(java.lang.String connectionName, java.sql.Connection connection)
          Befreit und schliesst ggf die übergebene, benannte JDBC-Connection (implmentierungsabhängig).
 java.sql.Connection getConnection()
          Liefert, abhängig von der Implementierung, eine anonyme oder Default-JDBC-Connection
 java.sql.Connection getConnection(java.lang.String connectionName)
          Liefert eine benannte JDBC-Connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePooledMySqlConnection

public SimplePooledMySqlConnection()
Method Detail

freeConnection

public void freeConnection(java.sql.Connection connection)
                    throws java.sql.SQLException
Description copied from interface: IConnectionFactory
Befreit und schliesst ggf die übergebene, anonyme JDBC-Connection (implmentierungsabhängig).

Specified by:
freeConnection in interface IConnectionFactory
Throws:
java.sql.SQLException

freeConnection

public void freeConnection(java.lang.String connectionName,
                           java.sql.Connection connection)
                    throws java.sql.SQLException
Description copied from interface: IConnectionFactory
Befreit und schliesst ggf die übergebene, benannte JDBC-Connection (implmentierungsabhängig).

Specified by:
freeConnection in interface IConnectionFactory
Throws:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Description copied from interface: IConnectionFactory
Liefert, abhängig von der Implementierung, eine anonyme oder Default-JDBC-Connection

Specified by:
getConnection in interface IConnectionFactory
Throws:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection(java.lang.String connectionName)
                                  throws java.sql.SQLException
Description copied from interface: IConnectionFactory
Liefert eine benannte JDBC-Connection.

Specified by:
getConnection in interface IConnectionFactory
Throws:
java.sql.SQLException


Copyright © 2004 by basecmp® - Professional Web Solutions