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

    • 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

          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.