org.iternine.jeppetto.testsupport.db
Class DataSourceConnectionSource
java.lang.Object
org.iternine.jeppetto.testsupport.db.DataSourceConnectionSource
- All Implemented Interfaces:
- ConnectionSource
public class DataSourceConnectionSource
- extends Object
- implements ConnectionSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceConnectionSource
public DataSourceConnectionSource(DataSource dataSource,
String driverClassName)
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in interface ConnectionSource
- Throws:
SQLException
getDriverClassName
public String getDriverClassName()
- Specified by:
getDriverClassName in interface ConnectionSource
Copyright © 2012. All Rights Reserved.