We are using hibernate validator version 5.1.3.Final with spring version 4.1.6.RELEASE to validate the input data along with bean-io framework.
Now we are planning to upgrade the hibernate validator to latest version to improve the performance of the workflow.
Kindly provide the compatible version of spring framework version with latest hibernate validator.
Thanks,
Chethan
Hibernate Validator 6.0.x should be compatible with the version of Spring you are using and any further versions.
Just be careful about the dependencies as the groupId for Hibernate Validator has changed from org.hibernate:hibernate-validator to org.hibernate.validator:hibernate-validator. So be sure you don't have both dependencies in your classpath.
And be careful to use validation-api 2.0.0.Final with it. It's an explicit dependency so it shouldn't be an issue but you might have overridden it somewhere.
Related
I would like to find out what is the compatible version of hibernate core and validator for spring version 5.3.22. I tried to search for the spring-orm 5.3.22 pom xml file in the .m2\repository\org\springframework\spring-orm, but it did not show any information related hibernate. I have tried using 5.3.22.RELEASE, but the result stays the same. Are there any approach that I can use to determine the compatible version? Thank you in advance.
In a project developed with Spring boot 1.5.7, data-redis and data-jpa was used. Data-jpa version is 1.11.7, data-redis version is 1.8.7. I need to add spring-integration to the project. I will use version 4.3.12. data-jpa version in this version is 1.10.10, data-redis version is 1.7.10.
It is not the same as the data-redis and data-jpa versions used in the project.
What problems can this cause ?
That can't cause any problem as far as you don't override any dependencies provided by Spring Boot. You really should just rely on the well-tested composition of dependencies represented in Spring Boot. Even if Spring Integration 4.3.12 brings Spring Data JPA 1.10.10 as a transitive dependency that doesn't mean that it is not overridden by Spring Boot.
I'm not sure which do to point you out, but one of the main goals in Spring Boot is to bring into the target project consistency and cross-compatibility in the dependencies part.
This might help you a bit: https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/reference/htmlsingle/#using-boot-dependency-management
Can I know about what are the spring-boot supported versions for log4j. Because I use spring-boot version 1.5.9. It is already support for log4j2 and I want to know what is the latest version that support for log4j.
All latest versions of Spring Boot supports log4j2.
Current version of Spring Boot 2.0.0 supports log4j2 version 2.10.0. You can verify other dependency versions from here.
i'm using spring version 3.0.5 and hibernate-core version 3.6.3.final, hiberanate-commons-annotations-3.2.0.final and hibernate-jpa-2.0-api-1.0.0.final.jar and i want to know which version is compatible ?
I can"t modify the versions of spring and hibernate at the moment. For technical problems hibernate4 not support HibernateTemplate and spring version great than 3.0.x not support HibernateDaoSupport too.
So I want the spring batch version that is compatible with these two versios.
Thanks.
use spring-batch-2.1.9.RELEASE it is compatible with spring-core 3.0.x.
From 2.2.0 spring-Batch needs spring-core 3.2.0
Is there a version matrix for Spring framework core with Spring Data Neo4j?
I am looking for the (least) version of Spring framework core that is compatible (should be used) with Spring Data Neo4j 2.0.0.
If you use maven, and add just spring-data-neo4j, it will fetch all dependencies automatically. Even if you don't use maven, you can check the declared dependencies. From what I see in the pom file, it doesn't declare a specific version, which means it should be compatible with the latest version.