batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Falb (JIRA)" <>
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
             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

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
A string literal is enclosed in single quotes - for example: 'literal'.

This message was sent by Atlassian JIRA

View raw message