[ 
https://issues.apache.org/jira/browse/OPENJPA-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759946#comment-16759946
 ] 

Thomas Andraschko commented on OPENJPA-2774:
--------------------------------------------

- mvn clean package tomee-embedded:run
- open [http://localhost:8080/index.xhtml]
- click the button and see the result


NOTE: it's currently not configured to auto-create the DB.

> 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
>            Priority: Major
>         Attachments: test.7z
>
>
> 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)

Reply via email to