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

Error in boolean when using scala anorm string interpolation

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.3.2, 1.3.1, 1.3.3, 1.3.4, 1.3.5
    • 1.3.6
    • Other
    • None

    Description

      Boolean value when using the scala anorm string interpolation on boolean value, always return true.

      working examples :
      SQL(s"select * from examples where id = $id")
      SQL"select * from examples where id = #$id".

      error :
      SQL"select * from examples where id = $id".

      Using option "useServerPrepStmts=false" correct the problem.

      Attachments

        Activity

          diego dupin Diego Dupin created issue -
          diego dupin Diego Dupin made changes -
          Field Original Value New Value
          Fix Version/s 1.3.6 [ 21700 ]
          diego dupin Diego Dupin made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          diego dupin Diego Dupin made changes -
          Summary Error in boolean when using anorm string interpolation Error in boolean when using scala anorm string interpolation
          diego dupin Diego Dupin added a comment - done with commit https://github.com/MariaDB/mariadb-connector-j/commit/16ad03767a0f1b3a39b1ef867e69122e47e4451d
          diego dupin Diego Dupin made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 74000 ] MariaDB v4 [ 128287 ]

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.