SyntaxFix
Write A Post
Hire A Developer
Questions
Query query = session.createQuery("from Employee");
Note: from Employee. here Employee is not your table name it's POJO name.