Thnaks a lot Subhendu.
Just now i came to know that tThe HibernateUtil is a separate
Java file provided by the Book. I went to their site and got this file.
Instead of providing the java file you could have mention this info and it would have made me clear.
Thanks a lot for for the assistance.
Thanks and Regards