Skip to content

Latest commit

 

History

History
292 lines (219 loc) · 8.34 KB

README.adoc

File metadata and controls

292 lines (219 loc) · 8.34 KB

Matrice des versions Spring / Hibernate / Java / Tomcat

Matrice globale

Spring Framework Hibernate Java Tomcat

6.0

5.5+
6.0 pour JPA

17

10

5.3

5.2+

8+

8.5+

5.0

5.0+

8+

8.5+

4.3

[3-5.2]

1.6+

6+

3.2

[3.x-4.2]

1.6+

6+

2.5

[3.2-3.6]

1.6+

6+

Matrice compatibilité Hibernate

Hibernate ORM Java JPA Jakarta Persistence

7.0 [1]

17+

N/A

3.2

6.5 [2]

11, 17 ou 21

N/A

3.1

6.4

11, 17 ou 21

N/A

3.1

6.3

11, 17 ou 21

N/A

3.1

6.2

11, 17, 20 ou 21

N/A

3.1

6.1

11, 17 ou 18

N/A

3.1 and 3.0

6.0

11, 17 ou 18

N/A

3.0

5.6

8, 11, 17 ou 18

2.2

3.0

5.5

8, 11 ou 17

2.2

3.0
(Maven : hibernate-core-jakarta)

5.4

8, 11 ou 17 (avec 5.4.32+)

2.2

N/A

5.3

8
11 support partiel → 5.3.3+ [3]
11 support complet → 5.3.8+ [4]
17 → 5.3.22+ [5]

2.2

N/A

5.2

8

2.1

N/A

5.1

6/7/8 → 5.1.3;
7/8 → 5.1.16;
8 pour 5.1.17

2.1

N/A

5.0

6, 7 ou 8

2.1

N/A

4.3

6+

2.1

N/A

4.2

6+

2.0

N/A

3.6

1.5+

2.0

N/A

3.5

1.4+

2.0

N/A

3.2

1.4+

1.0

N/A

Références :

Matrice compatibilité Spring

Matrice compatibilité Spring + Java

Spring FWK Java

6.2.x

[17-25 (expected)] Note 2

6.1.x

[17-23] Note 2

6.0.x

[17-21] Note 2, Note 3, Note 4, Note 5

5.3.x

[8-21 (as of 5.3.26)] Note 2

5.2.x

[8-15]

5.1.x

[8-12]

5.0.x

[8-10]. Note 2

4.3.x

[6-8]

4.x

6+

3.x

[5-7]. Note 1

2.5

1.4+

Matrice compatibilité Spring + Hibernate

Spring FWK Hibernate

6.0.x

Compatible Hibernate 5.5/5.6.
Support Hibernate 6.x en tant que provider JPA (cf. LocalContainerEntityManagerFactoryBean).
Notes 10, 7

5.3.x

Hibernate [5.2-5.4]. Note 9

5.2.x

Hibernate [5.0-5.4]. Note 8

5.1.x

JPA 2.1+ ou Hibernate [5.0-5.3]. Note 5

5.0.x

JPA 2.1+ ou Hibernate [5.0-5.2]. Note 1

4.3.x

[3.6-5.2] Note 4

4.0.x

[3.6-4]. Note 2

3.2.x

[3-4.2.x]. Note 3

3.0.x

[3.2-3.6]

Persistance avec Hibernate

Voir la classe LocalSessionFactoryBean dans les packages org.springframework.orm.hibernate3, org.springframework.orm.hibernate4, org.springframework.orm.hibernate5.

Note
La classe org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean est remplacée par org.springframework.orm.hibernate4.LocalSessionFactoryBean.

Persistance avec JPA

Voir la classe LocalContainerEntityManagerFactoryBean dans le package org.springframework.orm.jpa par exemple.

Notes diverses

Refactoring automatisé avec OpenRewrite

Un outil propose d’appliquer du refactoring de code ou des montées de versions des librairies de façon automatisée. Il s’agit de OpenRewrite.

Ces refactorings sont présentés sous la forme de "recettes" (recipes). Un catalogue de recipes est présenté ici : https://docs.openrewrite.org/recipes.

Recipes pour l’écosystème Spring

Il existe de nombreuses recipes pour l’écosystème Spring, présentées ici : https://docs.openrewrite.org/recipes/java/spring.

Et en particulier pour Spring Framework : https://docs.openrewrite.org/recipes/java/spring/framework.

Par exemple :


3. v5.3.3 contient ByteBuddy 1.8.13
4. v5.3.8 introduit ByteBuddy 1.9.0, avec support complet de JDK 11 (voir commit pour HHH-13005)
5. Support de JDK 17 introduit par ByteBuddy 1.10.21 (voir commit pour HHH-14463, commit pour HHH-14771)