Some code samples for a Hibernate workshop