public class HSQLRandom
extends java.lang.Object
Constructor | Description |
---|---|
HSQLRandom(HSQLSession session,
java.lang.String isfName) |
Sets a connection to the database.
|
Modifier and Type | Method | Description |
---|---|---|
java.sql.ResultSet |
getCursor(java.lang.String query) |
Returns a cursor into the data selected by the "query" parameter.
|
public HSQLRandom(HSQLSession session, java.lang.String isfName) throws java.lang.ClassNotFoundException, java.sql.SQLException
session
- sessionisfName
- ISF file namejava.lang.ClassNotFoundException
- if Class.forName
operation failsjava.sql.SQLException
- when the database operation failspublic java.sql.ResultSet getCursor(java.lang.String query) throws java.sql.SQLException
query
- an SQL query to be executedjava.sql.SQLException
- when the database operation fails