<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Interface java.sql.Connection
</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-java.sql.html">This Package</a>  <a href="java.sql.CallableStatement.html#_top_">Previous</a>  <a href="java.sql.DatabaseMetaData.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface java.sql.Connection
</h1>
<dl>
  <dt> public interface <b>Connection</b>
</dl>
<P>A Connection represents a session with a specific
 database. Within the context of a Connection, SQL statements are
 executed and results are returned.
 <P>A Connection's database is able to provide information
 describing its tables, its supported SQL grammar, its stored
 procedures, the capabilities of this connection, etc. This
 information is obtained with the getMetaData method.
 <P><B>Note:</B> By default the Connection automatically commits
 changes after executing each statement. If auto commit has been
 disabled, an explicit commit must be done or database changes will
 not be saved.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.sql.DriverManager.html#getConnection">getConnection</a>, <a href="java.sql.Statement.html#_top_">Statement</a>, <a href="java.sql.ResultSet.html#_top_">ResultSet</a>, <a href="java.sql.DatabaseMetaData.html#_top_">DatabaseMetaData</a>
</dl>
<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="#TRANSACTION_NONE"><b>TRANSACTION_NONE</b></a>
  <dd>  Transactions are not supported.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TRANSACTION_READ_COMMITTED"><b>TRANSACTION_READ_COMMITTED</b></a>
  <dd>  Dirty reads are prevented; non-repeatable reads and phantom
 reads can occur.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TRANSACTION_READ_UNCOMMITTED"><b>TRANSACTION_READ_UNCOMMITTED</b></a>
  <dd>  Dirty reads, non-repeatable reads and phantom reads can occur.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TRANSACTION_REPEATABLE_READ"><b>TRANSACTION_REPEATABLE_READ</b></a>
  <dd>  Dirty reads and non-repeatable reads are prevented; phantom
 reads can occur.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TRANSACTION_SERIALIZABLE"><b>TRANSACTION_SERIALIZABLE</b></a>
  <dd>  Dirty reads, non-repeatable reads and phantom reads are prevented.
</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="#clearWarnings()"><b>clearWarnings</b></a>()
  <dd>  After this call, getWarnings returns null until a new warning is
 reported for this Connection.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#close()"><b>close</b></a>()
  <dd>  In some cases, it is desirable to immediately release a
 Connection's database and JDBC resources instead of waiting for
 them to be automatically released; the close method provides this
 immediate release.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#commit()"><b>commit</b></a>()
  <dd>  Commit makes all changes made since the previous
 commit/rollback permanent and releases any database locks
 currently held by the Connection.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#createStatement()"><b>createStatement</b></a>()
  <dd>  SQL statements without parameters are normally
 executed using Statement objects.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getAutoCommit()"><b>getAutoCommit</b></a>()
  <dd>  Get the current auto-commit state.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCatalog()"><b>getCatalog</b></a>()
  <dd>  Return the Connection's current catalog name.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getMetaData()"><b>getMetaData</b></a>()
  <dd>  A Connection's database is able to provide information
 describing its tables, its supported SQL grammar, its stored
 procedures, the capabilities of this connection, etc.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTransactionIsolation()"><b>getTransactionIsolation</b></a>()
  <dd>  Get this Connection's current transaction isolation mode.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getWarnings()"><b>getWarnings</b></a>()
  <dd>  The first warning reported by calls on this Connection is
 returned.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isClosed()"><b>isClosed</b></a>()
  <dd>  Tests to see if a Connection is closed.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isReadOnly()"><b>isReadOnly</b></a>()
  <dd>  Tests to see if the connection is 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>  A driver may convert the JDBC sql grammar into its system's
 native SQL grammar prior to sending it; nativeSQL returns the
 native form of the statement that the driver would have sent.
  <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>  A SQL stored procedure call statement is handled by creating a
 CallableStatement for it.
  <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>  A SQL statement with or without IN parameters can be
 pre-compiled and stored in a PreparedStatement object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#rollback()"><b>rollback</b></a>()
  <dd>  Rollback drops all changes made since the previous
 commit/rollback and releases any database locks currently held
 by the Connection.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setAutoCommit(boolean)"><b>setAutoCommit</b></a>(boolean)
  <dd>  If a connection is in auto-commit mode, then all its SQL
 statements will be executed and committed as individual
 transactions.
  <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>  A sub-space of this Connection's database may be selected by setting a
 catalog name.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setReadOnly(boolean)"><b>setReadOnly</b></a>(boolean)
  <dd>  You can put a connection in read-only mode as a hint to enable 
 database optimizations.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setTransactionIsolation(int)"><b>setTransactionIsolation</b></a>(int)
  <dd>  You can call this method to try to change the transaction
 isolation level using one of the TRANSACTION_* values.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="TRANSACTION_NONE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TRANSACTION_NONE</b>
<pre>
 public static final int TRANSACTION_NONE
</pre>
<dl>
  <dd> Transactions are not supported.<p>
</dl>
<a name="TRANSACTION_READ_UNCOMMITTED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TRANSACTION_READ_UNCOMMITTED</b>
<pre>
 public static final int TRANSACTION_READ_UNCOMMITTED
</pre>
<dl>
  <dd> Dirty reads, non-repeatable reads and phantom reads can occur.<p>
</dl>
<a name="TRANSACTION_READ_COMMITTED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TRANSACTION_READ_COMMITTED</b>
<pre>
 public static final int TRANSACTION_READ_COMMITTED
</pre>
<dl>
  <dd> Dirty reads are prevented; non-repeatable reads and phantom
 reads can occur.<p>
</dl>
<a name="TRANSACTION_REPEATABLE_READ"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TRANSACTION_REPEATABLE_READ</b>
<pre>
 public static final int TRANSACTION_REPEATABLE_READ
</pre>
<dl>
  <dd> Dirty reads and non-repeatable reads are prevented; phantom
 reads can occur.<p>
</dl>
<a name="TRANSACTION_SERIALIZABLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TRANSACTION_SERIALIZABLE</b>
<pre>
 public static final int TRANSACTION_SERIALIZABLE
</pre>
<dl>
  <dd> Dirty reads, non-repeatable reads and phantom reads are prevented.<p>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="createStatement()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="createStatement"><b>createStatement</b></a>
<pre>
 public abstract <a href="java.sql.Statement.html#_top_">Statement</a> createStatement() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> SQL statements without parameters are normally
 executed using Statement objects. If the same SQL statement 
 is executed many times, it is more efficient to use a 
 PreparedStatement
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> a new Statement object
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="prepareStatement(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="prepareStatement"><b>prepareStatement</b></a>
<pre>
 public abstract <a href="java.sql.PreparedStatement.html#_top_">PreparedStatement</a> prepareStatement(<a href="java.lang.String.html#_top_">String</a> sql) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A SQL statement with or without IN parameters can be
 pre-compiled and stored in a PreparedStatement object. This
 object can then be used to efficiently execute this statement
 multiple times.
 <P><B>Note:</B> This method is optimized for handling
 parametric SQL statements that benefit from precompilation. If
 the driver supports precompilation, prepareStatement will send
 the statement to the database for precompilation. Some drivers
 may not support precompilation. In this case, the statement may
 not be sent to the database until the PreparedStatement is
 executed.  This has no direct affect on users; however, it does
 affect which method throws certain SQLExceptions.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> sql - a SQL statement that may contain one or more '?' IN
 parameter placeholders
    <dt> <b>Returns:</b>
    <dd> a new PreparedStatement object containing the
 pre-compiled statement
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="prepareCall(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="prepareCall"><b>prepareCall</b></a>
<pre>
 public abstract <a href="java.sql.CallableStatement.html#_top_">CallableStatement</a> prepareCall(<a href="java.lang.String.html#_top_">String</a> sql) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A SQL stored procedure call statement is handled by creating a
 CallableStatement for it. The CallableStatement provides
 methods for setting up its IN and OUT parameters, and
 methods for executing it.
 <P><B>Note:</B> This method is optimized for handling stored
 procedure call statements. Some drivers may send the call
 statement to the database when the prepareCall is done; others
 may wait until the CallableStatement is executed. This has no
 direct affect on users; however, it does affect which method
 throws certain SQLExceptions.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> sql - a SQL statement that may contain one or more '?'
 parameter placeholders. Typically this  statement is a JDBC
 function call escape string.
    <dt> <b>Returns:</b>
    <dd> a new CallableStatement object containing the
 pre-compiled SQL statement
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="nativeSQL(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="nativeSQL"><b>nativeSQL</b></a>
<pre>
 public abstract <a href="java.lang.String.html#_top_">String</a> nativeSQL(<a href="java.lang.String.html#_top_">String</a> sql) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A driver may convert the JDBC sql grammar into its system's
 native SQL grammar prior to sending it; nativeSQL returns the
 native form of the statement that the driver would have sent.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> sql - a SQL statement that may contain one or more '?'
 parameter placeholders
    <dt> <b>Returns:</b>
    <dd> the native form of this statement
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="setAutoCommit(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setAutoCommit"><b>setAutoCommit</b></a>
<pre>
 public abstract void setAutoCommit(boolean autoCommit) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> If a connection is in auto-commit mode, then all its SQL
 statements will be executed and committed as individual
 transactions.  Otherwise, its SQL statements are grouped into
 transactions that are terminated by either commit() or
 rollback().  By default, new connections are in auto-commit
 mode.
 The commit occurs when the statement completes or the next
 execute occurs, whichever comes first. In the case of
 statements returning a ResultSet, the statement completes when
 the last row of the ResultSet has been retrieved or the
 ResultSet has been closed. In advanced cases, a single
 statement may return multiple results as well as output
 parameter values. Here the commit occurs when all results and
 output param values have been retrieved.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> autoCommit - true enables auto-commit; false disables
 auto-commit.
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="getAutoCommit()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getAutoCommit"><b>getAutoCommit</b></a>
<pre>
 public abstract boolean getAutoCommit() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the current auto-commit state.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> Current state of auto-commit mode.
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
    <dt> <b>See Also:</b>
    <dd> <a href="#setAutoCommit">setAutoCommit</a>
  </dl></dd>
</dl>
<a name="commit()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="commit"><b>commit</b></a>
<pre>
 public abstract void commit() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Commit makes all changes made since the previous
 commit/rollback permanent and releases any database locks
 currently held by the Connection. This method should only be
 used when auto commit has been disabled.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
    <dt> <b>See Also:</b>
    <dd> <a href="#setAutoCommit">setAutoCommit</a>
  </dl></dd>
</dl>
<a name="rollback()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="rollback"><b>rollback</b></a>
<pre>
 public abstract void rollback() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Rollback drops all changes made since the previous
 commit/rollback and releases any database locks currently held
 by the Connection. This method should only be used when auto
 commit has been disabled.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
    <dt> <b>See Also:</b>
    <dd> <a href="#setAutoCommit">setAutoCommit</a>
  </dl></dd>
</dl>
<a name="close()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="close"><b>close</b></a>
<pre>
 public abstract void close() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> In some cases, it is desirable to immediately release a
 Connection's database and JDBC resources instead of waiting for
 them to be automatically released; the close method provides this
 immediate release. 
 <P><B>Note:</B> A Connection is automatically closed when it is
 garbage collected. Certain fatal errors also result in a closed
 Connection.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="isClosed()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isClosed"><b>isClosed</b></a>
<pre>
 public abstract boolean isClosed() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Tests to see if a Connection is closed.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> true if the connection is closed; false if it's still open
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="getMetaData()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getMetaData"><b>getMetaData</b></a>
<pre>
 public abstract <a href="java.sql.DatabaseMetaData.html#_top_">DatabaseMetaData</a> getMetaData() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A Connection's database is able to provide information
 describing its tables, its supported SQL grammar, its stored
 procedures, the capabilities of this connection, etc. This
 information is made available through a DatabaseMetaData
 object.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> a DatabaseMetaData object for this Connection
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="setReadOnly(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setReadOnly"><b>setReadOnly</b></a>
<pre>
 public abstract void setReadOnly(boolean readOnly) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> You can put a connection in read-only mode as a hint to enable 
 database optimizations.
 <P><B>Note:</B> setReadOnly cannot be called while in the
 middle of a transaction.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> readOnly - true enables read-only mode; false disables
 read-only mode.
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="isReadOnly()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isReadOnly"><b>isReadOnly</b></a>
<pre>
 public abstract boolean isReadOnly() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Tests to see if the connection is in read-only mode.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> true if connection is read-only
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="setCatalog(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setCatalog"><b>setCatalog</b></a>
<pre>
 public abstract void setCatalog(<a href="java.lang.String.html#_top_">String</a> catalog) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A sub-space of this Connection's database may be selected by setting a
 catalog name. If the driver does not support catalogs it will
 silently ignore this request.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="getCatalog()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCatalog"><b>getCatalog</b></a>
<pre>
 public abstract <a href="java.lang.String.html#_top_">String</a> getCatalog() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Return the Connection's current catalog name.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the current catalog name or null
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="setTransactionIsolation(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setTransactionIsolation"><b>setTransactionIsolation</b></a>
<pre>
 public abstract void setTransactionIsolation(int level) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> You can call this method to try to change the transaction
 isolation level using one of the TRANSACTION_* values.
 <P><B>Note:</B> setTransactionIsolation cannot be called while
 in the middle of a transaction.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> level - one of the TRANSACTION_* isolation values with the
 exception of TRANSACTION_NONE; some databases may not support
 other values
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
    <dt> <b>See Also:</b>
    <dd> <a href="java.sql.DatabaseMetaData.html#supportsTransactionIsolationLevel">supportsTransactionIsolationLevel</a>
  </dl></dd>
</dl>
<a name="getTransactionIsolation()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTransactionIsolation"><b>getTransactionIsolation</b></a>
<pre>
 public abstract int getTransactionIsolation() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get this Connection's current transaction isolation mode.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the current TRANSACTION_* mode value
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="getWarnings()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getWarnings"><b>getWarnings</b></a>
<pre>
 public abstract <a href="java.sql.SQLWarning.html#_top_">SQLWarning</a> getWarnings() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> The first warning reported by calls on this Connection is
 returned.  
 <P><B>Note:</B> Subsequent warnings will be chained to this
 SQLWarning.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the first SQLWarning or null
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<a name="clearWarnings()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="clearWarnings"><b>clearWarnings</b></a>
<pre>
 public abstract void clearWarnings() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> After this call, getWarnings returns null until a new warning is
 reported for this Connection.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.sql.SQLException.html#_top_">SQLException</a>
    <dd> if a database-access error occurs.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.sql.html">This Package</a>  <a href="java.sql.CallableStatement.html#_top_">Previous</a>  <a href="java.sql.DatabaseMetaData.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
