Integrate Spring with Hibernate

How to integrate Spring and Hibernate?

Questions by Kavan Desai

Showing Answers 1 - 3 of 3 Answers

HibernateJpaVendorAdapter is used to integrate Spring and Hibernate.


E.g:-
<bean id="entityManagerFactoryBean"

class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">

<property name="dataSource" ref="dataSource" />

<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter " />

</bean>

Good Luck,
Vincent Chinnappan

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions