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.
here's the cfg.xml file
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com