This is a boilerplate code for a spring and hibernate application