Hi,
I have a strange problem when I try to change version from Spring Data JPA 1.1.0.RELEASE to either 1.1.2.RELEASE/1.2.0.RELEASE/1.3.0.RELEASE. With 1.1.0 and 1.1.1 everything works fine but with newer versions I always get the following exception:
The database is up and running, with 1.1.0/1.1.1 have no connection issues. Anyone has any ideas what can cause my problem?Code:Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'entityManager' threw exception; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Error Code: 0 at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:102) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393) ... 20 more
Thanks for your help!


Reply With Quote
