Skip to content

Upgrading org.springframework.boot:spring-boot-starter-data-jpa 2 to 3

Breaking2.7.18 → 3.5.16Breaking2Deprecated4New20Changed2373Fixed1080Other854

BreakingUpgrade verdict

2 breaking changes.

  • Two HTTP client configuration properties change: one deprecated property is gone and another is renamed.
  • These starters no longer pull in AOP support automatically, so projects relying on it transitively must add it themselves.
  • Adapts the deprecation level for management.health.influxdb.enabled.
  • Adapts the deprecation level for management.health.influxdb.enabled.
Top 5 of 6 that need code or config changes

Adds org.hibernate.orm:hibernate-core 6.6.53.Final, org.springframework.boot:spring-boot-starter 3.5.16.

Drops jakarta.persistence:jakarta.persistence-api, jakarta.transaction:jakarta.transaction-api, org.hibernate:hibernate-core, org.springframework.boot:spring-boot-starter-aop.

Installs 46 packages in all (was 42).

Breaking2
Removes the 'spring.http.client' deprecation and renames 'spring.http.reactiveclient.settings' to 'spring.http.reactiveclient'.
spring.http.clientspring.http.reactiveclient.settingsspring.http.reactiveclient
Removes spring-boot-starter-aop dependency from spring-boot-starter-data-jpa and spring-boot-starter-integration.
spring-boot-starter-aopspring-boot-starter-data-jpaspring-boot-starter-integration
Deprecated4
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabled
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabled
Deprecates remaining @ControllerEndpoint and @RestControllerEndpoint infrastructure.
@ControllerEndpoint@RestControllerEndpoint
Deprecates remaining @ControllerEndpoint and @RestControllerEndpoint infrastructure.
@ControllerEndpoint@RestControllerEndpoint