https://bz.apache.org/bugzilla/show_bug.cgi?id=58256

            Bug ID: 58256
           Summary: JDBC Request with Prepared Statement calling typed
                    methods
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 33008
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33008&action=edit
PoC for Prepared Statement

In order to use Prepared Statement efficiently, I want Jmeter to call the
explicit method based on the type (setInt, setDouble, setDate ...) instead of
calling the generic one setObject(int parameterIndex, Object x, int
targetSqlType) with the "x" object as a String expecting the driver to parse
it.

In real environment we rather use typed methods for performance reason. It
would be nice if Jmeter does the same.

Please find attached patch for a PoC.

Best regards.
Thomas

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

Reply via email to