a simple hibernate implementation of 1 class from http://www.mkyong.com/tutorials/hibernate-tutorials/