made changes to support inheritance of entity objects
Merge branch 'master' of https://github.com/jacobpun/hibernate-demo
corrected the context file