replace localhost by relative path
create example for User model with hibernate. Add hibernate.cfg.xml. Add dependency for hibernate orm.
Merge pull request #11 from bigal91/hibernateexample

hibernate example