History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24160
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Joe Uhl
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Incorrect Type Mismatch in HQL IN Clause

Created: 28 Nov 07 19:49   Updated: 09 Jan 08 16:04
Component/s: J2EE.Hibernate
Fix Version/s: Diana 8243, Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
opensuse 10.2 32bit
jdk1.6.0_03

Build: 7,573
Fixed in build: 8,091
Severity: Low


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.