Hibernate basic configuration with simple DB interaction done.