📄 oracle.jdbc.driver.oracleconnection.html
字号:
public synchronized void registerSQLType(String sql_name, String java_class_name) throws SQLException</pre><dl> <dd> Map accessor methods<p></dl><a name="registerSQLType(java.lang.String, java.lang.Class)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="registerSQLType"><b>registerSQLType</b></a><pre> public synchronized void registerSQLType(String sql_name, Class java_class) throws SQLException</pre><a name="getSQLType(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getSQLType"><b>getSQLType</b></a><pre> public synchronized String getSQLType(Object obj) throws SQLException</pre><a name="getJavaObject(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getJavaObject"><b>getJavaObject</b></a><pre> public synchronized Object getJavaObject(String sql_name) throws SQLException</pre><a name="putDescriptor(java.lang.String, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="putDescriptor"><b>putDescriptor</b></a><pre> public synchronized void putDescriptor(String sql_name, Object desc) throws SQLException</pre><dl> <dd> Store the Object Descriptor for later usage.<p></dl><a name="getDescriptor(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDescriptor"><b>getDescriptor</b></a><pre> public synchronized Object getDescriptor(String sql_name)</pre><dl> <dd> Return the matched StructDescriptor.<p></dl><a name="getJdbcCsId()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getJdbcCsId"><b>getJdbcCsId</b></a><pre> public short getJdbcCsId() throws SQLException</pre><dl> <dd> Obtain the Oracle identifier of the character set used in theJDBC driver.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the Oracle identifier of the character set.See oracle.sql.CharacterSet for the set ofconstants defined for the identifiers. </dl></dd></dl><a name="getDbCsId()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDbCsId"><b>getDbCsId</b></a><pre> public short getDbCsId() throws SQLException</pre><dl> <dd> Obtain the Oracle identifier of the character set used in thedatabase server.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the Oracle identifier of the character set.See oracle.sql.CharacterSet for the set ofconstants defined for the identifiers. </dl></dd></dl><a name="getStructAttrCsId()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getStructAttrCsId"><b>getStructAttrCsId</b></a><pre> public synchronized short getStructAttrCsId() throws SQLException</pre><dl> <dd> Obtain the Oracle identifier of the character set used in STRUCTattributes. Note that TTC always send structure attributes inthe database character set.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the Oracle identifier of the character set.See oracle.sql.CharacterSet for the set ofconstants defined for the identifiers. </dl></dd></dl><a name="createStatement(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="createStatement"><b>createStatement</b></a><pre> public synchronized Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException</pre><dl> <dd> JDBC 2.0Creates a <code>Statement</code> object that will generate<code>ResultSet</code> objects with the given type and concurrency.This method is the same as the <code>createStatement</code> methodabove, but it allows the default result settype and result set concurrency type to be overridden.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> resultSetType - a result set type; see ResultSet.TYPE_XXX <dt> <b>Returns:</b> <dd> a new Statement object <dt> <b>Throws:</b> SQLException <dd> if a database access error occurs </dl></dd></dl><a name="prepareStatement(java.lang.String, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="prepareStatement"><b>prepareStatement</b></a><pre> public synchronized PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException</pre><dl> <dd> JDBC 2.0Creates a <code>PreparedStatement</code> object that will generate<code>ResultSet</code> objects with the given type and concurrency.This method is the same as the <code>prepareStatement</code> methodabove, but it allows the default result settype and result set concurrency type to be overridden.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> resultSetType - a result set type; see ResultSet.TYPE_XXX <dd> resultSetConcurrency - a concurrency type; see ResultSet.CONCUR_XXX <dt> <b>Returns:</b> <dd> a new PreparedStatement object containing thepre-compiled SQL statement <dt> <b>Throws:</b> SQLException <dd> if a database access error occurs </dl></dd></dl><a name="prepareCall(java.lang.String, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="prepareCall"><b>prepareCall</b></a><pre> public synchronized CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException</pre><dl> <dd> JDBC 2.0Creates a <code>CallableStatement</code> object that will generate<code>ResultSet</code> objects with the given type and concurrency.This method is the same as the <code>prepareCall</code> methodabove, but it allows the default result settype and result set concurrency type to be overridden.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> resultSetType - a result set type; see ResultSet.TYPE_XXX <dd> resultSetConcurrency - a concurrency type; see ResultSet.CONCUR_XXX <dt> <b>Returns:</b> <dd> a new CallableStatement object containing thepre-compiled SQL statement <dt> <b>Throws:</b> SQLException <dd> if a database access error occurs </dl></dd></dl><a name="getTypeMap()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getTypeMap"><b>getTypeMap</b></a><pre> public synchronized Dictionary getTypeMap()</pre><a name="setTypeMap(java.util.Dictionary)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setTypeMap"><b>setTypeMap</b></a><pre> public synchronized void setTypeMap(Dictionary map)</pre><a name="setUsingXAFlag(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setUsingXAFlag"><b>setUsingXAFlag</b></a><pre> public void setUsingXAFlag(boolean value)</pre><a name="getUsingXAFlag()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getUsingXAFlag"><b>getUsingXAFlag</b></a><pre> public boolean getUsingXAFlag()</pre><a name="setXAErrorFlag(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setXAErrorFlag"><b>setXAErrorFlag</b></a><pre> public synchronized void setXAErrorFlag(boolean value)</pre><a name="getXAErrorFlag()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getXAErrorFlag"><b>getXAErrorFlag</b></a><pre> public synchronized boolean getXAErrorFlag()</pre><a name="initUserName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="initUserName"><b>initUserName</b></a><pre> public synchronized void initUserName() throws SQLException</pre><a name="getUserName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getUserName"><b>getUserName</b></a><pre> public synchronized String getUserName() throws SQLException</pre><a name="getFDO()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getFDO"><b>getFDO</b></a><pre> public synchronized byte[] getFDO() throws SQLException</pre><dl> <dd> INTERNALGet Format Descriptor Object. (INTERNAL)<p></dl><a name="getClientData(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getClientData"><b>getClientData</b></a><pre> public synchronized Object getClientData(Object key)</pre><dl> <dd> Obtain the client data value associated with a key.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> keykey - whose associated value is to be returned. <dt> <b>Returns:</b> <dd> value associated with the specified key, or null ifthere is no value for this key. <dt> <b>Throws:</b> NullPointerException <dd> if the specified key is null. </dl></dd></dl><a name="setClientData(java.lang.Object, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setClientData"><b>setClientData</b></a><pre> public synchronized Object setClientData(Object key, Object value)</pre><dl> <dd> Store a piece client data and associate it with the specified key.Neither the key nor the value can be null. If the specified keyalready existed, the old value is replaced.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> keykey - with which the specified client data value isto be associated. <dd> valueclient - data value to be associated with the specifiedkey. <dt> <b>Returns:</b> <dd> previous client data value associated with specifiedkey, or null if there was no previous association. <dt> <b>Throws:</b> NullPointerException <dd> if the specified key or value is null. </dl></dd></dl><a name="removeClientData(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="removeClientData"><b>removeClientData</b></a><pre> public synchronized Object removeClientData(Object key)</pre><dl> <dd> Remove the specified key and any associated client data.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> keykey - to be removed along with its associated value <dt> <b>Returns:</b> <dd> client data value being removed, or null if therewas no data found. <dt> <b>Throws:</b> NullPointerException <dd> if the specified key is null. </dl></dd></dl><hr><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></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -