org.apache.tapestry.contrib.table.model.sql
Class SimpleSqlConnectionSource
java.lang.Object
org.apache.tapestry.contrib.table.model.sql.SimpleSqlConnectionSource
- All Implemented Interfaces:
- ISqlConnectionSource
public class SimpleSqlConnectionSource
- extends Object
- implements ISqlConnectionSource
- Version:
- $Id : $
- Author:
- mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSqlConnectionSource
public SimpleSqlConnectionSource(String strUrl)
SimpleSqlConnectionSource
public SimpleSqlConnectionSource(String strUrl,
String strUser,
String strPwd)
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)