diff --git a/spring-hibernate3/pom.xml b/spring-hibernate3/pom.xml index 3c1cd2d0b6..d329bb12f0 100644 --- a/spring-hibernate3/pom.xml +++ b/spring-hibernate3/pom.xml @@ -174,14 +174,14 @@ - 3.2.6.RELEASE + 4.0.0.RELEASE 3.2.0.RELEASE 3.18.1-GA 3.6.10.Final 5.1.27 - 7.0.41 + 7.0.47 1.7.5 diff --git a/spring-hibernate3/src/test/java/org/baeldung/spring/persistence/service/FooServicePersistenceIntegrationTest.java b/spring-hibernate3/src/test/java/org/baeldung/spring/persistence/service/FooServicePersistenceIntegrationTest.java index fe84ff5f65..aaf0dd23e6 100644 --- a/spring-hibernate3/src/test/java/org/baeldung/spring/persistence/service/FooServicePersistenceIntegrationTest.java +++ b/spring-hibernate3/src/test/java/org/baeldung/spring/persistence/service/FooServicePersistenceIntegrationTest.java @@ -5,10 +5,10 @@ import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; import org.baeldung.persistence.model.Foo; import org.baeldung.persistence.service.FooService; import org.baeldung.spring.PersistenceConfig; -import org.hibernate.exception.DataException; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.dao.DataAccessException; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.InvalidDataAccessApiUsageException; import org.springframework.test.context.ContextConfiguration; @@ -51,7 +51,7 @@ public class FooServicePersistenceIntegrationTest { service.create(entity); } - @Test(expected = DataException.class) + @Test(expected = DataAccessException.class) public final void temp_whenInvalidEntityIsCreated_thenDataException() { service.create(new Foo(randomAlphabetic(2048))); } diff --git a/spring-security-rest-basic-auth/pom.xml b/spring-security-rest-basic-auth/pom.xml index c383ed6341..08038ba23e 100644 --- a/spring-security-rest-basic-auth/pom.xml +++ b/spring-security-rest-basic-auth/pom.xml @@ -286,7 +286,7 @@ - 3.2.6.RELEASE + 4.0.0.RELEASE 3.2.0.RELEASE diff --git a/spring-security-rest-custom/pom.xml b/spring-security-rest-custom/pom.xml index b820175ec9..783dfd0625 100644 --- a/spring-security-rest-custom/pom.xml +++ b/spring-security-rest-custom/pom.xml @@ -242,7 +242,7 @@ - 3.2.6.RELEASE + 4.0.0.RELEASE 3.2.0.RELEASE diff --git a/spring-security-rest-digest-auth/pom.xml b/spring-security-rest-digest-auth/pom.xml index 8a1d800206..61ad000edf 100644 --- a/spring-security-rest-digest-auth/pom.xml +++ b/spring-security-rest-digest-auth/pom.xml @@ -275,7 +275,7 @@ - 3.2.6.RELEASE + 4.0.0.RELEASE 3.2.0.RELEASE diff --git a/spring-security-rest-full/pom.xml b/spring-security-rest-full/pom.xml index fe45280b33..0270d43096 100644 --- a/spring-security-rest-full/pom.xml +++ b/spring-security-rest-full/pom.xml @@ -257,7 +257,7 @@ - 3.2.6.RELEASE + 4.0.0.RELEASE 3.2.0.RELEASE diff --git a/spring-security-rest/pom.xml b/spring-security-rest/pom.xml index a7eb3546b2..7c856cd446 100644 --- a/spring-security-rest/pom.xml +++ b/spring-security-rest/pom.xml @@ -208,7 +208,7 @@ - 3.2.6.RELEASE + 4.0.0.RELEASE 3.2.0.RELEASE