public class DataSourceConnection extends JdbcConnectionResource
_driver, _flags, _host, _isEmulatePrepares, _port, _socket, _sqlParseToken, _url
Constructor and Description |
---|
DataSourceConnection(Env env,
javax.sql.DataSource ds) |
DataSourceConnection(Env env,
javax.sql.DataSource ds,
java.lang.String user,
java.lang.String pass) |
Modifier and Type | Method and Description |
---|---|
protected ConnectionEntry |
connectImpl(Env env,
java.lang.String host,
java.lang.String userName,
java.lang.String password,
java.lang.String dbname,
int port,
java.lang.String socket,
int flags,
java.lang.String driver,
java.lang.String url,
boolean isNewLink,
boolean isEmulatePrepares)
Connects to the underlying database.
|
cleanup, clearErrors, close, closeStatement, commit, connectInternal, createJavaStatement, createResult, createStatement, createStatementResource, error, getAffectedRows, getAutoCommit, getCatalog, getCatalogs, getCharacterSetName, getClientEncoding, getClientInfo, getClientInfo, getConnection, getDbName, getDriver, getDriverName, getErrorCode, getErrorMessage, getException, getFieldCount, getHost, getHostInfo, getJavaConnection, getPassword, getPort, getResultResource, getResultSet, getServerInfo, getServerStat, getTableMetaData, getUrl, getURL, getUserName, getWarnings, infoToVersion, isConnected, isEmulatePrepares, isSeekable, keepResourceValues, keepStatementOpen, parseSqlToken, ping, prepare, realEscapeString, realQuery, rollback, saveErrors, setAffectedRows, setAutoCommit, setCatalog, setClientEncoding, setResultResource, setWarnings, toObject, toString, validateConnection
public DataSourceConnection(Env env, javax.sql.DataSource ds)
public DataSourceConnection(Env env, javax.sql.DataSource ds, java.lang.String user, java.lang.String pass)
protected ConnectionEntry connectImpl(Env env, java.lang.String host, java.lang.String userName, java.lang.String password, java.lang.String dbname, int port, java.lang.String socket, int flags, java.lang.String driver, java.lang.String url, boolean isNewLink, boolean isEmulatePrepares)
JdbcConnectionResource
connectImpl
in class JdbcConnectionResource