This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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)