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

Key: IDEA-18037
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Scott Curtis
Votes: 0
Watchers: 1
Operations

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

Error highlighting incorrect for Strings with curly braces when when passed to CallableStatements.

Created: 07 May 08 16:22   Updated: Tuesday 16:28
Component/s: Editor. Error Highlighting

File Attachments: None
Image Attachments:

1. idea bug.jpg
(20 kb)
Environment: Windows XP

Build: 8,280
Severity: Low


 Description  « Hide
In my DAO classes I create CallableStatements to call Stored Procedures. I am constructing and passing a String parameter to the prepareCall() method of my Connection object. The String parameters contain curly braces and look like this:

cstmt = con.prepareCall(
"{ call " + QUAL + "table(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }");

For some reason Idea keeps incorrectly parsing the curly braces as though they are opening and closing braces on methods. See screenshot.



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