added a basic mapping example using hibernate