|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.iiit.jdbc.JdbcResultSet
Encapsulates a java.sql.ResultSet
Constructor Summary | |
protected |
JdbcResultSet(JdbcConnection connection,
ResultSet resultSet)
Creates a new instance of JdbcResultSet |
Method Summary | |
void |
close()
Releases this JdbcResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed. |
protected void |
finalize()
Release the JdbcConnection hold by this object explicitly. |
boolean |
first()
Moves the cursor to the first row in this ResultSet object. |
int |
getInt(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as an int in the Java programming language. |
long |
getLong(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language. |
String |
getString(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language. |
boolean |
next()
Moves the cursor down one row from its current position. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected JdbcResultSet(JdbcConnection connection, ResultSet resultSet)
connection
- the connection that was used to create the meta data object.resultSet
- The encapsulated java.sql.ResultSetMethod Detail |
public void close() throws JdbcException
JdbcException
- if a database access error occurspublic boolean next() throws JdbcException
JdbcException
- if a database access error occurspublic boolean first() throws JdbcException
JdbcException
- if a database access error occurs or the result set type is TYPE_FORWARD_ONLYpublic int getInt(int columnIndex) throws JdbcException
columnIndex
- the first column is 1, the second is 2, ...
JdbcException
- if a database access error occurspublic long getLong(int columnIndex) throws JdbcException
columnIndex
- the first column is 1, the second is 2, ...
JdbcException
- if a database access error occurspublic String getString(int columnIndex) throws JdbcException
columnIndex
- the first column is 1, the second is 2, ...
JdbcException
- if a database access error occursprotected void finalize() throws Throwable
finalize
in class Object
Throwable
- Any throwable thrown during the excution.
|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |