I am using JBoss 5.1 and I get the same error either with MySQL 5 or HSQLDB. Of course I already tried Google, but it seems that I am the only one who gets such an exception. Does anyone know what it means?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to the MySQL reference, this happens if the query has no FROM clause, or has a FROM DUAL clause.
Can you post the request on which you’re having this error ? Use
<property name="show_sql">true</property>to log generated SQL in Hibernate.