Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.imaginary.sql.msql.MsqlPooledConnection

java.lang.Object
  |
  +--com.imaginary.sql.msql.MsqlPooledConnection

public class MsqlPooledConnection
extends java.lang.Object
implements java.sql.Connection, javax.sql.PooledConnection
Represents a logical database connection using pooled connection resources. The JDBC 2.0 Standard Extension API is very liberal about the underlying mechanisms it allows for the support of connection pooling. This interpretation of that API is based on an established data source stored in a JNDI directory under the MsqlPooledDataSource class name.
Last modified $Date: 1999/07/06 05:56:07 $

Version:
$Revision: 1.3 $
Author:
George Reese

Method Summary
void addConnectionEventListener(javax.sql.ConnectionEventListener cel)
           
void clearWarnings()
           
void close()
           
void commit()
           
java.sql.Statement createStatement()
           
java.sql.Statement createStatement(int rstype, int rsconcur)
           
boolean getAutoCommit()
           
java.lang.String getCatalog()
           
java.sql.Connection getConnection()
           
java.sql.DatabaseMetaData getMetaData()
           
int getTransactionIsolation()
           
java.util.Map getTypeMap()
           
java.sql.SQLWarning getWarnings()
           
boolean isClosed()
           
boolean isReadOnly()
           
java.lang.String nativeSQL(java.lang.String sql)
           
java.sql.CallableStatement prepareCall(java.lang.String sql)
           
java.sql.CallableStatement prepareCall(java.lang.String sql, int type, int concur)
           
java.sql.PreparedStatement prepareStatement(java.lang.String sql)
           
java.sql.PreparedStatement prepareStatement(java.lang.String sql, int type, int conc)
           
void removeConnectionEventListener(javax.sql.ConnectionEventListener cel)
           
void rollback()
           
void setAutoCommit(boolean ac)
           
void setCatalog(java.lang.String cat)
           
void setReadOnly(boolean ro)
           
void setTransactionIsolation(int level)
           
void setTypeMap(java.util.Map map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

addConnectionEventListener

public void addConnectionEventListener(javax.sql.ConnectionEventListener cel)
Description copied from interface:
 
Specified by:
addConnectionEventListener(javax.sql.ConnectionEventListener) in interface javax.sql.PooledConnection

clearWarnings

public void clearWarnings()
                  throws java.sql.SQLException
Description copied from interface:
 
Specified by:
clearWarnings() in interface java.sql.Connection

close

public void close()
          throws java.sql.SQLException
Description copied from interface:
 
Specified by:
close() in interface java.sql.Connection

commit

public void commit()
           throws java.sql.SQLException
Description copied from interface:
 
Specified by:
commit() in interface java.sql.Connection

createStatement

public java.sql.Statement createStatement()
                                  throws java.sql.SQLException
Description copied from interface:
 
Specified by:
createStatement() in interface java.sql.Connection

createStatement

public java.sql.Statement createStatement(int rstype,
                                 int rsconcur)
                                  throws java.sql.SQLException
Description copied from interface:
 
Specified by:
createStatement(int, int) in interface java.sql.Connection

getAutoCommit

public boolean getAutoCommit()
                     throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getAutoCommit() in interface java.sql.Connection

getCatalog

public java.lang.String getCatalog()
                           throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getCatalog() in interface java.sql.Connection

getConnection

public java.sql.Connection getConnection()
                                 throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getConnection() in interface javax.sql.PooledConnection

getMetaData

public java.sql.DatabaseMetaData getMetaData()
                                     throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getMetaData() in interface java.sql.Connection

getTransactionIsolation

public int getTransactionIsolation()
                           throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getTransactionIsolation() in interface java.sql.Connection

getTypeMap

public java.util.Map getTypeMap()
                        throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getTypeMap() in interface java.sql.Connection

getWarnings

public java.sql.SQLWarning getWarnings()
                               throws java.sql.SQLException
Description copied from interface:
 
Specified by:
getWarnings() in interface java.sql.Connection

isClosed

public boolean isClosed()
Description copied from interface:
 
Specified by:
isClosed() in interface java.sql.Connection

isReadOnly

public boolean isReadOnly()
                  throws java.sql.SQLException
Description copied from interface:
 
Specified by:
isReadOnly() in interface java.sql.Connection

nativeSQL

public java.lang.String nativeSQL(java.lang.String sql)
                          throws java.sql.SQLException
Description copied from interface:
 
Specified by:
nativeSQL(java.lang.String) in interface java.sql.Connection

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql)
                                      throws java.sql.SQLException
Description copied from interface:
 
Specified by:
prepareCall(java.lang.String) in interface java.sql.Connection

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql,
                                     int type,
                                     int concur)
                                      throws java.sql.SQLException
Description copied from interface:
 
Specified by:
prepareCall(java.lang.String, int, int) in interface java.sql.Connection

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql)
                                           throws java.sql.SQLException
Description copied from interface:
 
Specified by:
prepareStatement(java.lang.String) in interface java.sql.Connection

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                          int type,
                                          int conc)
                                           throws java.sql.SQLException
Description copied from interface:
 
Specified by:
prepareStatement(java.lang.String, int, int) in interface java.sql.Connection

removeConnectionEventListener

public void removeConnectionEventListener(javax.sql.ConnectionEventListener cel)
Description copied from interface:
 
Specified by:
removeConnectionEventListener(javax.sql.ConnectionEventListener) in interface javax.sql.PooledConnection

rollback

public void rollback()
             throws java.sql.SQLException
Description copied from interface:
 
Specified by:
rollback() in interface java.sql.Connection

setAutoCommit

public void setAutoCommit(boolean ac)
                  throws java.sql.SQLException
Description copied from interface:
 
Specified by:
setAutoCommit(boolean) in interface java.sql.Connection

setCatalog

public void setCatalog(java.lang.String cat)
               throws java.sql.SQLException
Description copied from interface:
 
Specified by:
setCatalog(java.lang.String) in interface java.sql.Connection

setReadOnly

public void setReadOnly(boolean ro)
                throws java.sql.SQLException
Description copied from interface:
 
Specified by:
setReadOnly(boolean) in interface java.sql.Connection

setTransactionIsolation

public void setTransactionIsolation(int level)
                            throws java.sql.SQLException
Description copied from interface:
 
Specified by:
setTransactionIsolation(int) in interface java.sql.Connection

setTypeMap

public void setTypeMap(java.util.Map map)
               throws java.sql.SQLException
Description copied from interface:
 
Specified by:
setTypeMap(java.util.Map) in interface java.sql.Connection

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD