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

Key: IDEA-15818
Type: Bug Bug
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Taras Tielkes
Votes: 0
Watchers: 1
Operations

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

JPA query not validated if obtained through StringBuffer

Created: 17 Oct 07 21:02   Updated: 27 Nov 07 00:26
Component/s: J2EE.EJB3, J2EE.Hibernate

Build: 7,361


 Description  « Hide
Some developers prefer to create a longer query using StringBuffer/StringBuilder.

In practice this is more rare than regular concatenation, but I see it in projects from time to time.
IDEA could support this, using logic similar to the current concatenation support.

If append() calls are interspersed with conditional statements, or if something other than a string literal is appended, injection should back off.



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