Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Calling a proc that returns results is not working. #1

Open
wxlund opened this issue Jun 20, 2013 · 0 comments
Open

Calling a proc that returns results is not working. #1

wxlund opened this issue Jun 20, 2013 · 0 comments

Comments

@wxlund
Copy link

wxlund commented Jun 20, 2013

This is the offending line:

  int rowsAffected = stmt.executeUpdate(command); 

Need to refactor to route between actions (update, query, etc.) to something like:

    stmt.execute(command);
    resultSet[0] = stmt.getResultSet();

Suggestion: Enhance the procController to show all of the metadata about the stored procs and use that data within this method to know whether we should be calling an update or query and process the results to return.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant