Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Peter Gromov 
Subsystem
J2EE.Hibernate 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7573
Fixed in build
8091
Severity
0
  • Submitted by   Joe Uhl
    2 years ago (28 Nov 2007 19:49)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:55)
  • Jira: IDEA-42072
    (history, comments)

IDEA-42072

Incorrect Type Mismatch in HQL IN Clause

0
Have this HQL query:

UPDATE MyObject obj SET status = :status WHERE obj in (:someObjects)

IntelliJ is not liking the "obj in (:someObjects)" chunk and gives this message:

"Type mismatch: number or string type expected"

However, this query runs fine and I am fairly certain objects are allowed in this context.

Environment: opensuse 10.2 32bit
jdk1.6.0_03

Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments