https://issues.apache.org/bugzilla/show_bug.cgi?id=57266

            Bug ID: 57266
           Summary: using executeQuery() method  for CallableStatements
                    in JDBC Sample
           Product: JMeter
           Version: 2.11
          Hardware: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

Hi 
I have to test some procedures  for a particulare Database whose jdbc driver
only supports the executeQuery() method  for CallableStatement object.

I saw the source code of the class
org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler  and it uses the execute()
method like below
            } else if (CALLABLE.equals(_queryType)) {
                CallableStatement cstmt = getCallableStatement(conn);
                int out[]=setArguments(cstmt);
                // A CallableStatement can return more than 1 ResultSets
                // plus a number of update counts.
                boolean hasResultSet = cstmt.execute();
Is it possible to improve the callable in a way that the user can choose which
of the 2 methods to use?
Thanks 

Andrea

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to