Skip to content
Advertisement

Exception with JPA Query Spring

I want to get List of my objects by jpa query I’m using this code:

JavaScript

But I get the exception:

JavaScript

What is the problem there?

Advertisement

Answer

There are some missing spaces at the end of string literals. For example after concat the result is like “…from VzClass vzjoin vz.PHClass…”. It should look like

JavaScript
Advertisement