This is a utility class to help with running queries read from a query
script in a String. The CatchException versions are mostly meant for Velocity
where catching exceptions is impossible in the template code. Instead you
can just check for an exception in the result after the method finishes.
public QueryRunner(java.lang.String scriptEngineName)
Initialize the runner with the specified scripting engine. Give the
string "none" as scripting engine name to not initialize any engine. In
this case, you may only use the runQuery methods that take a directive
directly instead of a query script.
Initialize the runner with the default scripting engine.
public java.util.ArrayList<ResultRow> runQuery(java.lang.String query,