You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2016/04/15 17:49:25 UTC

[jira] [Assigned] (OPENJPA-2637) Invalid query syntax

     [ https://issues.apache.org/jira/browse/OPENJPA-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg reassigned OPENJPA-2637:
--------------------------------------

    Assignee: Mark Struberg

> Invalid query syntax
> --------------------
>
>                 Key: OPENJPA-2637
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2637
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>            Reporter: John D. Ament
>            Assignee: Mark Struberg
>
> DeltaSpike's started seeing a query failure when testing against TomEE 7 M3.  The test result can be seen here: https://builds.apache.org/job/DeltaSpike_TomEE_7.0.0-M3/140/org.apache.deltaspike.modules$deltaspike-data-module-impl/testReport/org.apache.deltaspike.data.impl.criteria/CriteriaTest/should_create_count_criteria/
> The query generated looks something like 
> {code}
> select count(distinct e.name) from Simple e where e.name = ?
> {code}
> OpenJPA seems to be trying to convert the long into a long via constructor



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)