net.sf.farrago.test
Class FarragoAutoCalcRulesTest.TestJdbcEngineDriver
java.lang.Object
net.sf.farrago.jdbc.FarragoAbstractJdbcDriver
net.sf.farrago.jdbc.engine.FarragoUnregisteredJdbcEngineDriver
net.sf.farrago.jdbc.engine.FarragoJdbcEngineDriver
net.sf.farrago.test.FarragoAutoCalcRulesTest.TestJdbcEngineDriver
- All Implemented Interfaces:
- Driver, FarragoJdbcServerDriver
- Enclosing class:
- FarragoAutoCalcRulesTest
public static class FarragoAutoCalcRulesTest.TestJdbcEngineDriver
- extends FarragoJdbcEngineDriver
TestJdbcEngineDriver extends FarragoJdbcEngineDriver and provides our
custom TestDbSessionFactory in place of Farrago's normal implementation.
Methods inherited from class net.sf.farrago.jdbc.FarragoAbstractJdbcDriver |
acceptsURL, acceptsUrlWithHostPort, applyDefaultConnectionProps, getClientUrl, getDefaultConnectionProps, getMajorVersion, getMinorVersion, getPropertyInfo, jdbcCompliant, parseConnectionParams, register |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
opTab
static SqlStdOperatorTable opTab
testOjRexImplementor
static FarragoOJRexImplementorTable testOjRexImplementor
testCalcRexImplementor
static CalcRexImplementorTableImpl testCalcRexImplementor
FarragoAutoCalcRulesTest.TestJdbcEngineDriver
public FarragoAutoCalcRulesTest.TestJdbcEngineDriver()
newSessionFactory
public FarragoSessionFactory newSessionFactory()
- Description copied from interface:
FarragoJdbcServerDriver
- Creates a new FarragoSessionFactory which will govern the behavior of
connections established through this driver.
- Specified by:
newSessionFactory
in interface FarragoJdbcServerDriver
- Overrides:
newSessionFactory
in class FarragoUnregisteredJdbcEngineDriver
- Returns:
- new factory
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrl
in interface FarragoJdbcServerDriver
- Overrides:
getBaseUrl
in class FarragoAbstractJdbcDriver
- Returns:
- the base JDBC URL for this driver; subclassing drivers can
override this to customize the URL scheme