You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2019/02/04 14:59:00 UTC

[jira] [Created] (OPENJPA-2774) Criteria + MSSQL: String value in where clause for a int column doesn't give a result

Thomas Andraschko created OPENJPA-2774:
------------------------------------------

             Summary: Criteria + MSSQL: String value in where clause for a int column doesn't give a result
                 Key: OPENJPA-2774
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2774
             Project: OpenJPA
          Issue Type: Improvement
          Components: kernel
    Affects Versions: 3.0.0
            Reporter: Thomas Andraschko


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)