Hello I'm trying to migrate an Hibernate 3.6.3 application to Hibernate 4 and I'm getting following error:
Invalid property 'dataSource' of bean class
[org.springframework.orm.jpa.LocalEntityManagerFactoryBean]:
Bean property 'dataSource' is not writable or has an invalid
setter method. Does the parameter type of the setter match the
return type of the getter?
I have looked a this post: integrating JPA and SpringIOc
When I use LocalEntityManagerFactoryBean I get the error mentioned above, but when I use LocalContainerEntityManagerFactoryBean I get an error when creating my DAO bean.
I think it's a problem of spring.orm dependency configuration, but I'm not sure, since all the dependency changes I have made aren't working.
Where can I find a Hibernate 4 migration guide in order to adapt my JPA, Hibernate 3.6.3 and Spring application?