Sounds to me like the Book class isn't mentioned in the configuration file. You're using mapping files, right? Each Java class that acts as an entity must be mentioned in the mappings section of the configuration file.
Joined: Sep 05, 2007
I am having entries for both the hbm.xml file in the hibernate.cfg.xml file.