org.hibernate.HibernateException: No CurrentSessionContext configured! hibernate spring
<!-- For Properties File -->
spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate4.SpringSessionContext
<!-- For XML Config -->
<property name="hibernate.current_session_context_class">thread</property>