org.apache.tapestry.contrib.table.model.sql
Class SimpleSqlConnectionSource

java.lang.Object
  extended by org.apache.tapestry.contrib.table.model.sql.SimpleSqlConnectionSource
All Implemented Interfaces:
ISqlConnectionSource

public class SimpleSqlConnectionSource
extends Object
implements ISqlConnectionSource

Version:
$Id : $
Author:
mindbridge

Constructor Summary
SimpleSqlConnectionSource(String strUrl)
           
SimpleSqlConnectionSource(String strUrl, String strUser, String strPwd)
           
 
Method Summary
 Connection obtainConnection()
           
 void returnConnection(Connection objConnection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSqlConnectionSource

public SimpleSqlConnectionSource(String strUrl)

SimpleSqlConnectionSource

public SimpleSqlConnectionSource(String strUrl,
                                 String strUser,
                                 String strPwd)
Method Detail

obtainConnection

public Connection obtainConnection()
                            throws SQLException
Specified by:
obtainConnection in interface ISqlConnectionSource
Throws:
SQLException
See Also:
ISqlConnectionSource.obtainConnection()

returnConnection

public void returnConnection(Connection objConnection)
Specified by:
returnConnection in interface ISqlConnectionSource
See Also:
ISqlConnectionSource.returnConnection(Connection)