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

    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

        1. test.7z
          3 kB
          Thomas Andraschko

        Activity

          People

            Unassigned Unassigned
            tandraschko Thomas Andraschko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: