batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Falb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BATCHEE-97) JPQL Error in JobInstanceEntity
Date Wed, 17 Feb 2016 12:57:18 GMT
Alexander Falb created BATCHEE-97:
-------------------------------------

             Summary: JPQL Error in JobInstanceEntity
                 Key: BATCHEE-97
                 URL: https://issues.apache.org/jira/browse/BATCHEE-97
             Project: BatchEE
          Issue Type: Bug
            Reporter: Alexander Falb


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)

Mime
View raw message