PacktPub Press Release Packt Publishing has today launched a new series of Beginner’s Guide books designed to make open source tools and other advanced software accessible and usable for Beginners. “There are thousands of tremendous software tools out there,” says series editor David Barnes. “The way they are designed, built and documented means they can …
Archives for December 2008
How to solve QuerySyntaxException (table is not mapped) in hibetnate?
The following exception is very common if you are the beginner for hibernate. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Exception in thread "main" org.hibernate.hql.ast.QuerySyntaxException: book is not mapped [from book] at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158) at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87) at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70) at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056) …