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

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: kernel
    • Labels:
      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

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

              Dates

              • Created:
                Updated: