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

Key: IDEA-13517
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Anders Wallgren
Votes: 0
Watchers: 2
Operations

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

Constant string flagged as "cannot resolve query parameter"

Created: 29 Jun 07 22:10   Updated: 02 Aug 07 21:33
Component/s: Code Analysis. Inspection

File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(303 kb)
Environment: Windows Vista

Build: 7,041
Severity: High


 Description  « Hide
I factored a string out of a hibernate query into a string constant. The inspection on the string when it was a query parameter stays with the string after it's been converted to a constant. Screen shot coming.

 All   Comments   Work Log   Change History      Sort Order:
Taras Tielkes - 29 Jun 07 22:31
What does the usage expression (that references JOB) look like?

Gregory Shrago - 02 Aug 07 21:33
If the constant is used as a parameter in a query that doesn't have the required parameter it gets highlighted just like described here.