Spring boot, Spring core dependency - spring

I run spring boot 1.3.3.RELEASE, I have run into this issue that are solved in spring 4.3 https://jira.spring.io/browse/SPR-14114
When does spring boot support spring 4.3 ? Can I upgrade my spring-core dependency in current version of spring boot that I have.

When does spring boot support spring 4.3 ?
Spring Boot 1.4 will use Spring Framework 4.3 by default.
Can I upgrade my spring-core dependency in current version of spring boot that I have.
Yes. Spring Boot 1.3.x uses Spring Framework 4.2.x by default but it is compatible with Spring Framework 4.3.x. Assuming that you are using Maven and spring-boot-starter-parent as your pom's parent, you can use the spring.version property to control the version of Spring Framework that's used. For example:
<properties>
<spring.version>4.3.0.RC1</spring.version>
</properties>

Related

Compatibility of camel.springboot and spring-boot

How can I find out which spring-boot versions are supported by a given camel.springboot version? Neither camel-spring-boot-dependencies nor camel-spring-boot-bom contains any spring versions.
The org.apache.camel.springboot:spring-boot pom file references a specific Spring Boot version. For example, 3.10.0 references Spring Boot 2.4.5, 3.9.0 references Spring Boot 2.4.4, and 3.8.0 references Spring Boot 2.4.2.

Spring Boot version of embedded H2 database

Where can I find versions of embedded components in versions of Spring Boot e.g. embedded H2 database in Spring Boot 1.5.9-RELEASE.
You can see all versions of sub components of Spring Boot in Spring Boot Dependecies module :
spring-boot-dependencies module pom.xml version 1.5.X
H2 version is <h2.version>1.4.196</h2.version>

Compatibility of Spring Boot 1.5.x with Hibernate 4.x

We have upgraded Spring Boot from 1.2.4 to 1.5.8, which automatically upgraded Hibernate from 4.3.10 to 5.0.12. We are facing some Hibernate issues and we would like to use this version of Spring Boot but downgrade Hibernate back to 4.3.10.
Is spring Boot 1.5.8 compatible with Hibernate 4.3.10?
Yes it is according to the official documentation here.
Just make sure you override the (inherited from spring-boot-depencies) version of hibernate in your pom:
<properties>
<hibernate.version>4.3.10.Final</hibernate.version>
</properties>
I found this at https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes
Hibernate 4.3 will not be supported past Spring Boot 1.4. Please raise an issue if you find a bug that prevents you from upgrading.

Compatibility of Spring, Spring Security and Spring Webflow

Is there a compatibility matrix for spring, spring security and spring webflow for recent releases resp. versions running under Java 7 and JSF 2.2? Or are simply all versions > some threshold compatible?
you can check on maven here and check the compile dependencies of the versions.
for example you can see that WebFlow 2.4.4 is compatible with Spring Security 4.1.0.RELEASE and Spring 4.3.0.RELEASE which is then compatible with jsf 2.2 (through spring-web)

apache camel 2.9.1 works with spring 3.1.x and Spring 4.x

Hi Currently I am using camel-2.9.1 with default underlying dependency spring 3.0.5. This is working fine in production. Now I have to use some feature of Spring 3.1.x or Spring 4.x.
Will camel-2.9.1 works if I replace underlying spring jars to 3.1.x or Spring 4.x.
Since it is already in production i don't want to upgrade camel jars.
Will same camel-jars of 2.9.1 works with Spring 3.1.x or spring 4.x

Resources