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

--- Comment #4 from Sebb <[email protected]> ---
I see now.
The CallableStatement interface is needed in order to register (IN)OUT
parameters, but the JMeter code does not create a CallableStatement for
PREPARED_(SELECT|UPDATE) sample types.

As you suggest, one possible solution is to add CALLABLE_SELECT and
CALLABLE_UPDATE Query Types.

Given that output parameters cannot be registered for a PreparedStatement, I
wonder if JMeter should try and create a CallableStatement if any (IN)OUT types
have been specified. This would be another way to solve your issue.

At present - as you have found - this causes a class cast error.
It seems very unlikely that any test plans would rely on this behaviour, so it
should not cause an incompatible change.



By the way, which JDBC driver does not support execute()?

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

Reply via email to