Package org.pgcodekeeper.core.callable
Class ResultSetCallable
java.lang.Object
org.pgcodekeeper.core.callable.StatementCallable<ResultSet>
org.pgcodekeeper.core.callable.ResultSetCallable
Executable callable for running SQL queries that return result sets.
Supports both prepared statements and regular statements with dynamic SQL scripts.
Returns the ResultSet obtained from query execution.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new result set callable with a prepared statement.ResultSetCallable(Statement st, String script) Creates a new result set callable with a statement and SQL script. -
Method Summary
Methods inherited from class org.pgcodekeeper.core.callable.StatementCallable
cancel
-
Constructor Details
-
ResultSetCallable
Creates a new result set callable with a prepared statement.- Parameters:
st- the prepared statement to execute
-
ResultSetCallable
Creates a new result set callable with a statement and SQL script.- Parameters:
st- the statement to executescript- the SQL script to execute
-
-
Method Details
-
call
- Throws:
Exception
-