<!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.ResultSet
</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.PreparedStatement.html#_top_">Previous</a>  <a href="java.sql.ResultSetMetaData.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface java.sql.ResultSet
</h1>
<dl>
  <dt> public interface <b>ResultSet</b>
</dl>
<P>A ResultSet provides access to a table of data generated by
 executing a Statement. The table rows are retrieved in
 sequence. Within a row its column values can be accessed in any
 order.
 <P>A ResultSet maintains a cursor pointing to its current row of
 data.  Initially the cursor is positioned before the first row.
 The 'next' method moves the cursor to the next row.
 <P>The getXXX methods retrieve column values for the current
 row.  You can retrieve values either using the index number of the
 column, or by using the name of the column.  In general using the 
 column index will be more efficient.  Columns are numbered from 1.
 <P>For maximum portability, ResultSet columns within each row should be
 read in left-to-right order and each column should be read only once.
 <P>For the getXXX methods, the JDBC driver attempts to convert the
 underlying data to the specified Java type and returns a suitable
 Java value.  See the JDBC specification for allowable mappings
 from SQL types to Java types with the ResultSet.getXXX methods.
 <P>Column names used as input to getXXX methods are case
 insensitive.  When performing a getXXX using a column name, if
 several columns have the same name, then the value of the first
 matching column will be returned. The column name option is
 designed to be used when column names are used in the SQL
 query. For columns that are NOT explicitly named in the query, it
 is best to use column numbers. If column names were used there is
 no way for the programmer to guarantee that they actually refer to
 the intended columns.
 <P>A ResultSet is automatically closed by the Statement that
 generated it when that Statement is closed, re-executed, or is used
 to retrieve the next result from a sequence of multiple results.
 <P>The number, types and properties of a ResultSet's columns are
 provided by the ResulSetMetaData object returned by the getMetaData
 method.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.sql.Statement.html#executeQuery">executeQuery</a>, <a href="java.sql.Statement.html#getResultSet">getResultSet</a>, <a href="java.sql.ResultSetMetaData.html#_top_">ResultSetMetaData</a>
</dl>
<hr>
<a name="index"></a>
<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 ResultSet.
  <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
 ResultSet's database and JDBC resources instead of waiting for
 this to happen when it is automatically closed; the close
 method provides this immediate release.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#findColumn(java.lang.String)"><b>findColumn</b></a>(String)
  <dd>  Map a Resultset column name to a ResultSet column index.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getAsciiStream(int)"><b>getAsciiStream</b></a>(int)
  <dd>  A column value can be retrieved as a stream of ASCII characters 
 and then read in chunks from the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getAsciiStream(java.lang.String)"><b>getAsciiStream</b></a>(String)
  <dd>  A column value can be retrieved as a stream of ASCII characters 
 and then read in chunks from the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBigDecimal(int, int)"><b>getBigDecimal</b></a>(int, int)
  <dd>  Get the value of a column in the current row as a java.lang.BigDecimal object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBigDecimal(java.lang.String, int)"><b>getBigDecimal</b></a>(String, int)
  <dd>  Get the value of a column in the current row as a java.lang.BigDecimal object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBinaryStream(int)"><b>getBinaryStream</b></a>(int)
  <dd>  A column value can be retrieved as a stream of uninterpreted bytes 
 and then read in chunks from the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBinaryStream(java.lang.String)"><b>getBinaryStream</b></a>(String)
  <dd>  A column value can be retrieved as a stream of uninterpreted bytes 
 and then read in chunks from the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBoolean(int)"><b>getBoolean</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java boolean.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBoolean(java.lang.String)"><b>getBoolean</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java boolean.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getByte(int)"><b>getByte</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java byte.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getByte(java.lang.String)"><b>getByte</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java byte.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBytes(int)"><b>getBytes</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java byte array.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getBytes(java.lang.String)"><b>getBytes</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java byte array.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCursorName()"><b>getCursorName</b></a>()
  <dd>  Get the name of the SQL cursor used by this ResultSet.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDate(int)"><b>getDate</b></a>(int)
  <dd>  Get the value of a column in the current row as a java.sql.Date object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDate(java.lang.String)"><b>getDate</b></a>(String)
  <dd>  Get the value of a column in the current row as a java.sql.Date object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDouble(int)"><b>getDouble</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java double.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDouble(java.lang.String)"><b>getDouble</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java double.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getFloat(int)"><b>getFloat</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java float.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getFloat(java.lang.String)"><b>getFloat</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java float.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInt(int)"><b>getInt</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java int.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInt(java.lang.String)"><b>getInt</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java int.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getLong(int)"><b>getLong</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java long.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getLong(java.lang.String)"><b>getLong</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java long.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getMetaData()"><b>getMetaData</b></a>()
  <dd>  The number, types and properties of a ResultSet's columns
 are provided by the getMetaData method.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getObject(int)"><b>getObject</b></a>(int)
  <dd>  <p>Get the value of a column in the current row as a Java object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getObject(java.lang.String)"><b>getObject</b></a>(String)
  <dd>  <p>Get the value of a column in the current row as a Java object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getShort(int)"><b>getShort</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java short.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getShort(java.lang.String)"><b>getShort</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java short.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getString(int)"><b>getString</b></a>(int)
  <dd>  Get the value of a column in the current row as a Java String.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getString(java.lang.String)"><b>getString</b></a>(String)
  <dd>  Get the value of a column in the current row as a Java String.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTime(int)"><b>getTime</b></a>(int)
  <dd>  Get the value of a column in the current row as a java.sql.Time object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTime(java.lang.String)"><b>getTime</b></a>(String)
  <dd>  Get the value of a column in the current row as a java.sql.Time object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTimestamp(int)"><b>getTimestamp</b></a>(int)
  <dd>  Get the value of a column in the current row as a java.sql.Timestamp object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getTimestamp(java.lang.String)"><b>getTimestamp</b></a>(String)
  <dd>  Get the value of a column in the current row as a java.sql.Timestamp object.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getUnicodeStream(int)"><b>getUnicodeStream</b></a>(int)
  <dd>  A column value can be retrieved as a stream of Unicode characters 
 and then read in chunks from the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getUnicodeStream(java.lang.String)"><b>getUnicodeStream</b></a>(String)
  <dd>  A column value can be retrieved as a stream of Unicode characters 
 and then read in chunks from the stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getWarnings()"><b>getWarnings</b></a>()
  <dd>  <p>The first warning reported by calls on this ResultSet is
 returned.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#next()"><b>next</b></a>()
  <dd>  A ResultSet is initially positioned before its first row; the
 first call to next makes the first row the current row; the
 second call makes the second row the current row, etc.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#wasNull()"><b>wasNull</b></a>()
  <dd>  A column may have the value of SQL NULL; wasNull reports whether
 the last column read had this special value.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="next()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="next"><b>next</b></a>
<pre>
 public abstract boolean next() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A ResultSet is initially positioned before its first row; the
 first call to next makes the first row the current row; the
 second call makes the second row the current row, etc. 
 <P>If an input stream from the previous row is open, it is
 implicitly closed. The ResultSet's warning chain is cleared
 when a new row is read.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> true if the new current row is valid; false if there
 are no more rows
    <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="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
 ResultSet's database and JDBC resources instead of waiting for
 this to happen when it is automatically closed; the close
 method provides this immediate release.
 <P><B>Note:</B> A ResultSet is automatically closed by the
 Statement that generated it when that Statement is closed,
 re-executed, or is used to retrieve the next result from a
 sequence of multiple results. A ResultSet is also automatically
 closed when it is garbage collected.
<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="wasNull()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="wasNull"><b>wasNull</b></a>
<pre>
 public abstract boolean wasNull() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column may have the value of SQL NULL; wasNull reports whether
 the last column read had this special value.
 Note that you must first call getXXX on a column to try to read
 its value and then call wasNull() to find if the value was
 the SQL NULL.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> true if last column read was SQL 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="getString(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getString"><b>getString</b></a>
<pre>
 public abstract <a href="java.lang.String.html#_top_">String</a> getString(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java String.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getBoolean(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBoolean"><b>getBoolean</b></a>
<pre>
 public abstract boolean getBoolean(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java boolean.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is false
    <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="getByte(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getByte"><b>getByte</b></a>
<pre>
 public abstract byte getByte(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java byte.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getShort(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getShort"><b>getShort</b></a>
<pre>
 public abstract short getShort(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java short.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getInt(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInt"><b>getInt</b></a>
<pre>
 public abstract int getInt(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java int.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getLong(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getLong"><b>getLong</b></a>
<pre>
 public abstract long getLong(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java long.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getFloat(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getFloat"><b>getFloat</b></a>
<pre>
 public abstract float getFloat(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java float.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getDouble(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDouble"><b>getDouble</b></a>
<pre>
 public abstract double getDouble(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java double.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getBigDecimal(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBigDecimal"><b>getBigDecimal</b></a>
<pre>
 public abstract <a href="java.math.BigDecimal.html#_top_">BigDecimal</a> getBigDecimal(int columnIndex,
                                          int scale) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.lang.BigDecimal object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dd> scale - the number of digits to the right of the decimal
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getBytes(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBytes"><b>getBytes</b></a>
<pre>
 public abstract byte[] getBytes(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java byte array.
 The bytes represent the raw values returned by the driver.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getDate(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDate"><b>getDate</b></a>
<pre>
 public abstract <a href="java.sql.Date.html#_top_">Date</a> getDate(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.sql.Date object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getTime(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTime"><b>getTime</b></a>
<pre>
 public abstract <a href="java.sql.Time.html#_top_">Time</a> getTime(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.sql.Time object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getTimestamp(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTimestamp"><b>getTimestamp</b></a>
<pre>
 public abstract <a href="java.sql.Timestamp.html#_top_">Timestamp</a> getTimestamp(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.sql.Timestamp object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getAsciiStream(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getAsciiStream"><b>getAsciiStream</b></a>
<pre>
 public abstract <a href="java.io.InputStream.html#_top_">InputStream</a> getAsciiStream(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column value can be retrieved as a stream of ASCII characters 
 and then read in chunks from the stream.  This method is particularly
 suitable for retrieving large LONGVARCHAR values.  The JDBC driver will
 do any necessary conversion from the database format into ASCII.
 <P><B>Note:</B> All the data in the returned stream must be
 read prior to getting the value of any other column. The next
 call to a get method implicitly closes the stream. . Also, a
 stream may return 0 for available() whether there is data
 available or not.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> a Java input stream that delivers the database column value
 as a stream of one byte ASCII characters.  If the value is SQL NULL
 then the result is 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="getUnicodeStream(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getUnicodeStream"><b>getUnicodeStream</b></a>
<pre>
 public abstract <a href="java.io.InputStream.html#_top_">InputStream</a> getUnicodeStream(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column value can be retrieved as a stream of Unicode characters 
 and then read in chunks from the stream.  This method is particularly
 suitable for retrieving large LONGVARCHAR values.  The JDBC driver will
 do any necessary conversion from the database format into Unicode.
 <P><B>Note:</B> All the data in the returned stream must be
 read prior to getting the value of any other column. The next
 call to a get method implicitly closes the stream. . Also, a
 stream may return 0 for available() whether there is data
 available or not.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> a Java input stream that delivers the database column value
 as a stream of two byte Unicode characters.  If the value is SQL NULL
 then the result is 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="getBinaryStream(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBinaryStream"><b>getBinaryStream</b></a>
<pre>
 public abstract <a href="java.io.InputStream.html#_top_">InputStream</a> getBinaryStream(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column value can be retrieved as a stream of uninterpreted bytes 
 and then read in chunks from the stream.  This method is particularly
 suitable for retrieving large LONGVARBINARY values.
 <P><B>Note:</B> All the data in the returned stream must be
 read prior to getting the value of any other column. The next
 call to a get method implicitly closes the stream. Also, a
 stream may return 0 for available() whether there is data
 available or not.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> a Java input stream that delivers the database column value
 as a stream of uninterpreted bytes.  If the value is SQL NULL
 then the result is 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="getString(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getString"><b>getString</b></a>
<pre>
 public abstract <a href="java.lang.String.html#_top_">String</a> getString(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java String.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getBoolean(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBoolean"><b>getBoolean</b></a>
<pre>
 public abstract boolean getBoolean(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java boolean.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is false
    <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="getByte(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getByte"><b>getByte</b></a>
<pre>
 public abstract byte getByte(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java byte.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getShort(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getShort"><b>getShort</b></a>
<pre>
 public abstract short getShort(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java short.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getInt(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInt"><b>getInt</b></a>
<pre>
 public abstract int getInt(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java int.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getLong(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getLong"><b>getLong</b></a>
<pre>
 public abstract long getLong(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java long.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getFloat(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getFloat"><b>getFloat</b></a>
<pre>
 public abstract float getFloat(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java float.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getDouble(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDouble"><b>getDouble</b></a>
<pre>
 public abstract double getDouble(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java double.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 0
    <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="getBigDecimal(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBigDecimal"><b>getBigDecimal</b></a>
<pre>
 public abstract <a href="java.math.BigDecimal.html#_top_">BigDecimal</a> getBigDecimal(<a href="java.lang.String.html#_top_">String</a> columnName,
                                          int scale) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.lang.BigDecimal object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dd> scale - the number of digits to the right of the decimal
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getBytes(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBytes"><b>getBytes</b></a>
<pre>
 public abstract byte[] getBytes(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a Java byte array.
 The bytes represent the raw values returned by the driver.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getDate(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDate"><b>getDate</b></a>
<pre>
 public abstract <a href="java.sql.Date.html#_top_">Date</a> getDate(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.sql.Date object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getTime(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTime"><b>getTime</b></a>
<pre>
 public abstract <a href="java.sql.Time.html#_top_">Time</a> getTime(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.sql.Time object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getTimestamp(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getTimestamp"><b>getTimestamp</b></a>
<pre>
 public abstract <a href="java.sql.Timestamp.html#_top_">Timestamp</a> getTimestamp(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the value of a column in the current row as a java.sql.Timestamp object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> the column value; if the value is SQL NULL, the result is 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="getAsciiStream(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getAsciiStream"><b>getAsciiStream</b></a>
<pre>
 public abstract <a href="java.io.InputStream.html#_top_">InputStream</a> getAsciiStream(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column value can be retrieved as a stream of ASCII characters 
 and then read in chunks from the stream.  This method is particularly
 suitable for retrieving large LONGVARCHAR values.  The JDBC driver will
 do any necessary conversion from the database format into ASCII.
 <P><B>Note:</B> All the data in the returned stream must
 be read prior to getting the value of any other column. The
 next call to a get method implicitly closes the stream.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> a Java input stream that delivers the database column value
 as a stream of one byte ASCII characters.  If the value is SQL NULL
 then the result is 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="getUnicodeStream(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getUnicodeStream"><b>getUnicodeStream</b></a>
<pre>
 public abstract <a href="java.io.InputStream.html#_top_">InputStream</a> getUnicodeStream(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column value can be retrieved as a stream of Unicode characters 
 and then read in chunks from the stream.  This method is particularly
 suitable for retrieving large LONGVARCHAR values.  The JDBC driver will
 do any necessary conversion from the database format into Unicode.
 <P><B>Note:</B> All the data in the returned stream must
 be read prior to getting the value of any other column. The
 next call to a get method implicitly closes the stream.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> a Java input stream that delivers the database column value
 as a stream of two byte Unicode characters.  If the value is SQL NULL
 then the result is 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="getBinaryStream(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getBinaryStream"><b>getBinaryStream</b></a>
<pre>
 public abstract <a href="java.io.InputStream.html#_top_">InputStream</a> getBinaryStream(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> A column value can be retrieved as a stream of uninterpreted bytes 
 and then read in chunks from the stream.  This method is particularly
 suitable for retrieving large LONGVARBINARY values.
 <P><B>Note:</B> All the data in the returned stream must
 be read prior to getting the value of any other column. The
 next call to a get method implicitly closes the stream.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> a Java input stream that delivers the database column value
 as a stream of uninterpreted bytes.  If the value is SQL NULL
 then the result is 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="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> <p>The first warning reported by calls on this ResultSet is
 returned. Subsequent ResultSet warnings will be chained to this
 SQLWarning.
 <P>The warning chain is automatically cleared each time a new
 row is read.
 <P><B>Note:</B> This warning chain only covers warnings caused
 by ResultSet methods.  Any warning caused by statement methods
 (such as reading OUT parameters) will be chained on the
 Statement object.
<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 ResultSet.
<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="getCursorName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCursorName"><b>getCursorName</b></a>
<pre>
 public abstract <a href="java.lang.String.html#_top_">String</a> getCursorName() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Get the name of the SQL cursor used by this ResultSet.
 <P>In SQL, a result table is retrieved through a cursor that is
 named. The current row of a result can be updated or deleted
 using a positioned update/delete statement that references the
 cursor name. 
 <P>JDBC supports this SQL feature by providing the name of the
 SQL cursor used by a ResultSet. The current row of a ResultSet
 is also the current row of this SQL cursor.
 <P><B>Note:</B> If positioned update is not supported a
 SQLException is thrown
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the ResultSet's SQL cursor name
    <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.ResultSetMetaData.html#_top_">ResultSetMetaData</a> getMetaData() throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> The number, types and properties of a ResultSet's columns
 are provided by the getMetaData method.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the description of a ResultSet's columns
    <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="getObject(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getObject"><b>getObject</b></a>
<pre>
 public abstract <a href="java.lang.Object.html#_top_">Object</a> getObject(int columnIndex) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> <p>Get the value of a column in the current row as a Java object.
 <p>This method will return the value of the given column as a
 Java object.  The type of the Java object will be the default
 Java Object type corresponding to the column's SQL type,
 following the mapping specified in the JDBC spec.
 <p>This method may also be used to read datatabase specific abstract
 data types.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnIndex - the first column is 1, the second is 2, ...
    <dt> <b>Returns:</b>
    <dd> A java.lang.Object holding the column 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="getObject(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getObject"><b>getObject</b></a>
<pre>
 public abstract <a href="java.lang.Object.html#_top_">Object</a> getObject(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> <p>Get the value of a column in the current row as a Java object.
 <p>This method will return the value of the given column as a
 Java object.  The type of the Java object will be the default
 Java Object type corresponding to the column's SQL type,
 following the mapping specified in the JDBC spec.
 <p>This method may also be used to read datatabase specific abstract
 data types.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - is the SQL name of the column
    <dt> <b>Returns:</b>
    <dd> A java.lang.Object holding the column 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="findColumn(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="findColumn"><b>findColumn</b></a>
<pre>
 public abstract int findColumn(<a href="java.lang.String.html#_top_">String</a> columnName) throws <a href="java.sql.SQLException.html#_top_">SQLException</a>
</pre>
<dl>
  <dd> Map a Resultset column name to a ResultSet column index.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columnName - the name of the column
    <dt> <b>Returns:</b>
    <dd> the column index
    <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.PreparedStatement.html#_top_">Previous</a>  <a href="java.sql.ResultSetMetaData.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
