Delegated SessionFactory added.
SessionFactory factory bean defined.
Hibernate4 schema generator implmented. Velocity template for mapping files not added.