This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
when i run the program i am getting following error
Hibernate: select this_.name as y0_ from books this_
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to hiberbatchtest.BookPojo
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)