org.hibernate.QueryException: unexpected char: 0xA2 [ select kpi.id , kpi.value, kpi.key from KPI kpi]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by blue-sky
, 2 years ago
unexpected char: '"' [Event where eventName like "test" and startingDate >= "2011-01-19" and endingDate <= "2011-01-31" ]
via Coderanch by madhuri kunchala, 10 months ago
unexpected char: ';' [from testdb.User where id between 1 and 5; from User; ]
via javacodegeeks.com by Unknown author, 1 year ago
unexpected char: '~' [select p from com.model.Person p where p.name ~* :name]
via Hibernate JIRA by Damir Isanbirdin, 1 year ago
unexpected char: ';' [select s from mapping.ScaleData s, mapping.ScalesMappingData sm, mapping.AgencyRatingData ar, mapping.AgencyData a where s.scaleid=sm.scale.scaleid and sm.agencyrating.ratingid=ar.ratingid and ar.agency.agencyid=a.agencyid and a.agencyname=: param1 and ar.rating= :param2;]
via Hibernate JIRA by Damir Isanbirdin, 1 year ago
unexpected char: ';' [select s from mapping.ScaleData s, mapping.ScalesMappingData sm, mapping.AgencyRatingData ar, mapping.AgencyData a where s.scaleid=sm.scale.scaleid and sm.agencyrating.ratingid=ar.ratingid and ar.agency.agencyid=a.agencyid and a.agencyname=: param1 and ar.rating= :param2;]
org.hibernate.QueryException: unexpected char: 0xA2 [ select kpi.id , kpi.value, kpi.key from KPI kpi]
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:165)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.