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

Error in boolean when using scala anorm string interpolation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2, 1.3.1, 1.3.3, 1.3.4, 1.3.5
    • Fix Version/s: 1.3.6
    • Component/s: Other
    • Labels:
      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

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration