You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Reinhard Sandtner (JIRA)" <ji...@apache.org> on 2016/02/18 10:56:18 UTC
[jira] [Assigned] (BATCHEE-97) JPQL Error in JobInstanceEntity
[ https://issues.apache.org/jira/browse/BATCHEE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reinhard Sandtner reassigned BATCHEE-97:
----------------------------------------
Assignee: Reinhard Sandtner
> JPQL Error in JobInstanceEntity
> -------------------------------
>
> Key: BATCHEE-97
> URL: https://issues.apache.org/jira/browse/BATCHEE-97
> Project: BatchEE
> Issue Type: Bug
> Reporter: Alexander Falb
> Assignee: Reinhard Sandtner
>
> The two JPQL queries {{COUNT_BY_NAME_AND_TAG}} and {{FIND_BY_NAME_AND_TAG}} in {{JobInstanceEntity}} are not valid, because the strings 'tag' in the where clauses have no single quotes around them.
> The queries in question are not used, so the problem only surfaces if the persistence provider checks all named queries during startup.
> -----
> JPA Spec 2.0, Chapter 4.6.1
> {quote}
> A string literal is enclosed in single quotes - for example: 'literal'.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)