Permalink
Browse files

Unset validation-disabling property.

To see the current classpath do mvn dependency:list -Preleases. We pull in javax.validation as Spring Data Neo4j has a dependency on it. That causes Hibernate to try to bootstrap the javax.validation integration and fails as it cannot lookup a default provider.

To reproduce run mvn clean test -Preleases. Current master has the property enabled and runs fine.
  • Loading branch information...
1 parent 4fb8023 commit c70e03aaebdc4267cdeea05a1ff791ae939551fb @olivergierke olivergierke committed Feb 12, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/resources/META-INF/spring/application-context.xml
@@ -26,11 +26,13 @@
<property name="generateDdl" value="true" />
</bean>
</property>
+ <!--
<property name="jpaProperties">
<props>
<prop key="javax.persistence.validation.mode">none</prop>
</props>
</property>
+ -->
</bean>
<bean id="jpaTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">

0 comments on commit c70e03a

Please sign in to comment.