⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oracle.jdbc.driver.oracleconnection.html

📁 Oracle JDBC 的javaDoc
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Thu Dec 02 03:30:11 PST 1999 --><title>  Class oracle.jdbc.driver.OracleConnection</title></head><body><a name="_top_"></a><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-oracle.jdbc.driver.html">This Package</a>  <a href="oracle.jdbc.driver.OracleCallableStatement.html#_top_">Previous</a>  <a href="oracle.jdbc.driver.OracleDatabaseMetaData.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Class oracle.jdbc.driver.OracleConnection</h1><pre>java.lang.Object   |   +----oracle.jdbc.driver.OracleConnection</pre><hr><dl>  <dt> public class <b>OracleConnection</b>  <dt> extends Object  <dt> implements Connection, <a href="oracle.jdbc.driver.ClientDataSupport.html#_top_">ClientDataSupport</a></dl>The OracleConnection class implements the JDBC 1.0 Connection interface. <p>The implementation relies on native methods.  The native methods doall the work and return error codes, a return value >= 0 means thecall was successful.  The Java methods call the native methods,check the error codes and raise exceptions if errors occured.  If the native method get_error_message returns a string that can beused to explain the error to the user.<p><hr><a name="index"></a><h2>  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl>  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#ASCII_TO_CHAR"><b>ASCII_TO_CHAR</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CHAR_TO_ASCII"><b>CHAR_TO_ASCII</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CHAR_TO_JAVACHAR"><b>CHAR_TO_JAVACHAR</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#CHAR_TO_UNICODE"><b>CHAR_TO_UNICODE</b></a>  <dd>   <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#conversion"><b>conversion</b></a>  <dd>   <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#db_access"><b>db_access</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#DEBUG"><b>DEBUG</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#JAVACHAR_TO_CHAR"><b>JAVACHAR_TO_CHAR</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#NONE"><b>NONE</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#RAW_TO_ASCII"><b>RAW_TO_ASCII</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#RAW_TO_JAVACHAR"><b>RAW_TO_JAVACHAR</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#RAW_TO_UNICODE"><b>RAW_TO_UNICODE</b></a>  <dd>   <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#UNICODE_TO_CHAR"><b>UNICODE_TO_CHAR</b></a>  <dd>   <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#UsingXA"><b>UsingXA</b></a>  <dd>   <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#XA_wants_error"><b>XA_wants_error</b></a>  <dd> </dl><h2>  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl>  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#OracleConnection(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)"><b>OracleConnection</b></a>(DBAccess, String, String, String, String, Properties)  <dd> Allocate a new OracleConnection.  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#OracleConnection(oracle.jdbc.pool.OraclePooledConnection, oracle.jdbc.driver.OracleConnection, boolean)"><b>OracleConnection</b></a>(OraclePooledConnection, OracleConnection, boolean)  <dd> </dl><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#archive(int, int, java.lang.String)"><b>archive</b></a>(int, int, String)  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#clearWarnings()"><b>clearWarnings</b></a>()  <dd> We do not have any connection-level warnings  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#close()"><b>close</b></a>()  <dd> Rollbacks the current transaction.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#commit()"><b>commit</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#createStatement()"><b>createStatement</b></a>()  <dd> createStatement just allocates a new statement object.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#createStatement(int, int)"><b>createStatement</b></a>(int, int)  <dd> JDBC 2.0Creates a <code>Statement</code> object that will generate<code>ResultSet</code> objects with the given type and concurrency.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getAutoClose()"><b>getAutoClose</b></a>()  <dd> We are always in auto-close mode.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getAutoCommit()"><b>getAutoCommit</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getCatalog()"><b>getCatalog</b></a>()  <dd> We do not support catalogs.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getClientData(java.lang.Object)"><b>getClientData</b></a>(Object)  <dd> Obtain the client data value associated with a key.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDbCsId()"><b>getDbCsId</b></a>()  <dd> Obtain the Oracle identifier of the character set used in thedatabase server.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDefaultExecuteBatch()"><b>getDefaultExecuteBatch</b></a>()  <dd> Allows the user to retrieve the batch value for the connection.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDefaultRowPrefetch()"><b>getDefaultRowPrefetch</b></a>()  <dd> Allows the user to retrieve the row prefetch value for the connection.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getDescriptor(java.lang.String)"><b>getDescriptor</b></a>(String)  <dd> Return the matched StructDescriptor.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getFDO()"><b>getFDO</b></a>()  <dd> INTERNALGet Format Descriptor Object.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getIncludeSynonyms()"><b>getIncludeSynonyms</b></a>()  <dd> Returns true if DatabaseMetaData.getColumns will report information ifa table synonym is passed in, and false otherwise.<p>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getJavaObject(java.lang.String)"><b>getJavaObject</b></a>(String)  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getJdbcCsId()"><b>getJdbcCsId</b></a>()  <dd> Obtain the Oracle identifier of the character set used in theJDBC driver.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getMetaData()"><b>getMetaData</b></a>()  <dd> We just return a oracle.oci8.DatabaseMetaData object.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getRemarksReporting()"><b>getRemarksReporting</b></a>()  <dd> Return true if the DatabaseMetaData calls getTables and getColumnswill report the REMARKS column.<p>  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getSQLType(java.lang.Object)"><b>getSQLType</b></a>(Object)  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getStructAttrCsId()"><b>getStructAttrCsId</b></a>()  <dd> Obtain the Oracle identifier of the character set used in STRUCTattributes.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getTransactionIsolation()"><b>getTransactionIsolation</b></a>()  <dd> We only support dirty reads.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getTypeMap()"><b>getTypeMap</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getUserName()"><b>getUserName</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getUsingXAFlag()"><b>getUsingXAFlag</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getWarnings()"><b>getWarnings</b></a>()  <dd> We do not have any connection-level warnings  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getXAErrorFlag()"><b>getXAErrorFlag</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#holdLine(oracle.jdbc.driver.OracleStatement)"><b>holdLine</b></a>(OracleStatement)  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#initUserName()"><b>initUserName</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#isClosed()"><b>isClosed</b></a>()  <dd> As we do not keep a state in the Java struct we call native method evenfor isClosed.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#isReadOnly()"><b>isReadOnly</b></a>()  <dd> Our connections are never in read-only mode.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#nativeSQL(java.lang.String)"><b>nativeSQL</b></a>(String)  <dd> This is a bogus and quickly done implementation waiting for somethingbetter  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#needLine()"><b>needLine</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#prepareCall(java.lang.String)"><b>prepareCall</b></a>(String)  <dd> This is similar to createStatement.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#prepareCall(java.lang.String, int, int)"><b>prepareCall</b></a>(String, int, int)  <dd> JDBC 2.0Creates a <code>CallableStatement</code> object that will generate<code>ResultSet</code> objects with the given type and concurrency.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#prepareStatement(java.lang.String)"><b>prepareStatement</b></a>(String)  <dd> This is similar to createStatement.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#prepareStatement(java.lang.String, int, int)"><b>prepareStatement</b></a>(String, int, int)  <dd> JDBC 2.0Creates a <code>PreparedStatement</code> object that will generate<code>ResultSet</code> objects with the given type and concurrency.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#putDescriptor(java.lang.String, java.lang.Object)"><b>putDescriptor</b></a>(String, Object)  <dd> Store the Object Descriptor for later usage.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#registerSQLType(java.lang.String, java.lang.Class)"><b>registerSQLType</b></a>(String, Class)  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#registerSQLType(java.lang.String, java.lang.String)"><b>registerSQLType</b></a>(String, String)  <dd> Map accessor methods  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#releaseLine()"><b>releaseLine</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#removeClientData(java.lang.Object)"><b>removeClientData</b></a>(Object)  <dd> Remove the specified key and any associated client data.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#rollback()"><b>rollback</b></a>()  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setAutoClose(boolean)"><b>setAutoClose</b></a>(boolean)  <dd> We are always in auto-close mode.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setAutoCommit(boolean)"><b>setAutoCommit</b></a>(boolean)  <dd>   <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setCatalog(java.lang.String)"><b>setCatalog</b></a>(String)  <dd> We do not support catalogs.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setClientData(java.lang.Object, java.lang.Object)"><b>setClientData</b></a>(Object, Object)  <dd> Store a piece client data and associate it with the specified key.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setDefaultExecuteBatch(int)"><b>setDefaultExecuteBatch</b></a>(int)  <dd> Set the batch value for executes for all prepared statements belongingto this connection and created after the batch value was set.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setDefaultRowPrefetch(int)"><b>setDefaultRowPrefetch</b></a>(int)  <dd> Set the value of row prefetch for all statements associatedwith this connection and created after this value was set.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#setIncludeSynonyms(boolean)"><b>setIncludeSynonyms</b></a>(boolean)  <dd> Turn on or off retrieval of synonym information in DatabaseMetaData.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -