This is example of spring 4 with hiernate 4