net.sf.farrago.session
Class FarragoSessionDataSource
java.lang.Object
org.eigenbase.jdbc4.Unwrappable
org.eigenbase.util.JdbcDataSource
net.sf.farrago.session.FarragoSessionDataSource
- All Implemented Interfaces:
- DataSource
public class FarragoSessionDataSource
- extends JdbcDataSource
FarragoSessionDataSource implements DataSource
by providing a
loopback Connection
into a session; this can be used for execution of
reentrant SQL.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/session/FarragoSessionDataSource.java#6 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionSource
private final FarragoSessionConnectionSource connectionSource
FarragoSessionDataSource
public FarragoSessionDataSource(FarragoSession session)
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface DataSource
- Overrides:
getConnection
in class JdbcDataSource
- Throws:
SQLException