开发者

What does "java.sql.SQLException: No tables used" mean? Jboss + Hibernate

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 th开发者_运维问答e only one who gets such an exception. Does anyone know what it means?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜