Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Peter Gromov
Subsystem
J2EE.EJB3
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Stephen Friedrich
    4 years ago (10 Oct 2007 15:39)
  • Updated by   root
    2 years ago (17 Jan 2010 20:54)
  • Jira: IDEADEV-22572
    (history, comments)
 
IDEA-41419 Wrong warning on JPA QL: "Cannot mix collection and single variables"
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
This query is working fine, but Idea complains that it "Cannot mix collection and single variables":
        String q = "select scoreEntry.department.id, scoreEntry.department.name, scoreEntry.yearMonth, sum(scoreEntry.score) " +
                   "from ScoreEntry scoreEntry " +
                   "where scoreEntry.yearMonth >= :startMonth and scoreEntry.yearMonth <= :endMonth " +
                   "group by scoreEntry.department.id, scoreEntry.department.name, scoreEntry.yearMonth";


Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments