ScriptableResult(Scriptable scope,
ResultSet rs, int startRow, int maxRows)
throws SQLException, PropertyException, NotAFunctionException, JavaScriptException {
Context cx = Context.getCurrentContext();
Scriptable rowMap = cx.newObject(scope, "Array");
put("rows", this, rowMap);
Scriptable rowByIndex = cx.newObject(scope, "Array");
put("rowsByIndex", this, rowByIndex);
ResultSetMetaData rsmd = rs.getMetaData();