Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-384

useAffectedRows - add this new property in the connection url

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Like said in old comment, add "useAffectedRows" property in url connection.

      Like MySQL connector :

      useAffectedRows

      Don't set the CLIENT_FOUND_ROWS flag when connecting to the server (not JDBC-compliant, will break most applications that rely on "found" rows vs. "affected rows" for DML statements), but does cause "correct" update counts from "INSERT ... ON DUPLICATE KEY UPDATE" statements to be returned by the server.

      Default: false

      Since version: 5.1.7

        Attachments

          Activity

            People

            • Assignee:
              diego dupin diego dupin
              Reporter:
              sjachym sjachym
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: