JPA mapping: "QuerySyntaxException: foobar is not mapped..."

The Solution to JPA mapping: "QuerySyntaxException: foobar is not mapped..." is


JPQL mostly is case-insensitive. One of the things that is case-sensitive is Java entity names. Change your query to:

"SELECT r FROM FooBar r"

~ Answered on 2011-11-22 16:45:42


Most Viewed Questions: