Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2774

Criteria + MSSQL: String value in where clause for a int column doesn't give a result

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • kernel
    • None

    Description

      If you add a where clause with string as value for a int column, something isn't resolved correctly and no result is returned.
      When pass a int value, everything works.

      We should at least log a warning for such a case.

      will attach a sample later

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tandraschko Thomas Andraschko

            Dates

              Created:
              Updated:

              Slack

                Issue deployment