hands-on examples using hibernate framework