org.hibernate.hibernateException: aucune CurrentessionContext configurée! printemps hibernate

<!-- 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>
Vishal