Skip to content
Advertisement

JPA could not locate named parameter

I keep getting the following error: “could not locate named parameter [articleCommentId]” but it doesn’t make sense to me because to me the named parameter is very much in place.

JavaScript

Here is an extract of the stack trace with the relevant error:

JavaScript

Advertisement

Answer

I bet it is due to the extra ; in your query string.

SQL/HQL does not need to be terminated by semicolon

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement