Basic Example for Hibernate 4