public class Oracle extends JdbcConnectionResource
_conn, _driver, _flags, _host, _isEmulatePrepares, _port, _socket, _sqlParseToken, _url
Constructor and Description |
---|
Oracle(Env env,
java.lang.String host,
java.lang.String user,
java.lang.String password,
java.lang.String db,
int port,
java.lang.String driver,
java.lang.String url) |
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.
|
protected JdbcResultResource |
createResult(java.sql.Statement stmt,
java.sql.ResultSet rs)
Creates a database-specific result.
|
protected OracleStatement |
createStatementResource(Env env) |
protected java.lang.String |
getDriverName() |
OracleStatement |
prepare(Env env,
java.lang.String query)
returns a prepared statement
|
java.lang.String |
toString()
Converts to a string.
|
cleanup, clearErrors, close, closeStatement, commit, connectInternal, createJavaStatement, createStatement, error, getAffectedRows, getAutoCommit, getCatalog, getCatalogs, getCharacterSetName, getClientEncoding, getClientInfo, getClientInfo, getConnection, getDbName, getDriver, 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, realEscapeString, realQuery, rollback, saveErrors, setAffectedRows, setAutoCommit, setCatalog, setClientEncoding, setResultResource, setWarnings, toObject, validateConnection
public Oracle(Env env, java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String db, int port, java.lang.String driver, java.lang.String url)
protected java.lang.String getDriverName()
getDriverName
in class JdbcConnectionResource
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)
connectImpl
in class JdbcConnectionResource
public OracleStatement prepare(Env env, java.lang.String query)
prepare
in class JdbcConnectionResource
protected OracleStatement createStatementResource(Env env)
createStatementResource
in class JdbcConnectionResource
protected JdbcResultResource createResult(java.sql.Statement stmt, java.sql.ResultSet rs)
createResult
in class JdbcConnectionResource
public java.lang.String toString()
JdbcConnectionResource
toString
in class JdbcConnectionResource