com.metamatrix.jdbc
Class EmbeddedConnection
java.lang.Object
com.metamatrix.jdbc.WrapperImpl
com.metamatrix.jdbc.MMConnection
com.metamatrix.jdbc.EmbeddedConnection
- All Implemented Interfaces:
- java.sql.Connection, java.sql.Wrapper
public class EmbeddedConnection
- extends MMConnection
This class simple wrapper on top of MMConnection for the EmbeddedDriver and
EmbeddedDataSource.
The specific reason for this class is to have a management API on the
a JDBC Connection.
- Since:
- 4.3
Fields inherited from interface java.sql.Connection |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Methods inherited from class com.metamatrix.jdbc.MMConnection |
clearWarnings, commit, commitTransaction, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, endTransaction, forgetTransaction, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getConnectionId, getHoldability, getMetaData, getTransactionIsolation, getTransactionXid, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareTransaction, recoverTransaction, recycleConnection, releaseSavepoint, rollback, rollback, rollbackTransaction, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, startTransaction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Wrapper |
isWrapperFor, unwrap |
EmbeddedConnection
public EmbeddedConnection(EmbeddedConnectionFactoryImpl manager,
ServerConnection serverConn,
java.util.Properties info,
ConnectionListener listener)
- ctor
getAdminAPI
public Admin getAdminAPI()
throws java.sql.SQLException
- Get the Admin API interface, so that the caller can manager various aspects of configuring the DQP, like adding, deleteing
a VDB. Look at Java Docs for
Admin
all supported functionality.
- Returns:
- retuns reference to API, never null.
- Throws:
java.sql.SQLException
- Since:
- 4.3
getBaseDriver
public BaseDriver getBaseDriver()
- Specified by:
getBaseDriver
in class MMConnection
close
public void close()
throws java.sql.SQLException
- Specified by:
close
in interface java.sql.Connection
- Overrides:
close
in class MMConnection
- Throws:
java.sql.SQLException
Copyright © 2009. All Rights Reserved.