Exception in thread main org.hibernate.hql.ast.querysyntaxexception is not mapped:
List myList = s.createQuery(“FROM hibernate“).list();
in the above hibernate is the table name.
We have to change that table name to class name that is mapped with above hibernate table name like below,
List myList = s.createQuery(“FROM Hibernate“).list();
Hibernate is the Class name and it is case sensitive.
1,046 total views, 2 views today