public class DatabaseSQLResultSet
extends java.lang.Object
DatabaseSQLResultSet
class creates a result set.Constructor and Description |
---|
DatabaseSQLResultSet(java.lang.String databaseSystem,
DatabaseConnection pconn)
The constructor
DatabaseSQLResultSet creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
void |
closeResultSet()
The method
closeResultSet closes the connection an the statement of the current fetch. |
java.sql.ResultSet |
getResultSet(java.lang.String sql_statement)
The method
getResultSet creates a resultset with the current sql statement. |
void |
setDebug(boolean input) |
public DatabaseSQLResultSet(java.lang.String databaseSystem, DatabaseConnection pconn) throws java.lang.Exception
DatabaseSQLResultSet
creates a new instance(object) of the class.databaseSystem
- the current database systempconn
- the current connection.java.lang.Exception
- if error.public void setDebug(boolean input)
public java.sql.ResultSet getResultSet(java.lang.String sql_statement) throws java.lang.Exception
getResultSet
creates a resultset with the current sql statement.sql_statement
- the current sql statement.java.lang.Exception
- if error.public void closeResultSet() throws java.lang.Exception
closeResultSet
closes the connection an the statement of the current fetch.java.lang.Exception
- if error.