Warning. It is a huge upgrade from Spring Boot 2 to Spring Boot 3. If you don't have good test coverage then you should be careful. Some problems I got from my upgrade at work: - Hibernate 6 (6.4 atm) comes with massive change in Java & DB type mappings. So, if you currently use DDL auto, you'd better switch to another schema management tool like Flyway or Liquibase before doing the upgrade. - There is a bug in Hibernate 6 with StoredProcedureQuery that the result set mapping is messed up if you have INOUT param in your stored procedure. - Don't try to upgrade too many dependencies at once, you might wanna do it gradually.
This is great! Absolutely! Some apps will upgrade to a this easy, not all. You have some great insights. Would you be willing to tell me more about your upgrade journey? I would really like to learn more. You can grab time in my calendar at DaShaun.com if you could spare some time! 🎉
This is so true, I totally agree. I was leading a spring boot upgrade from version 2.3 to version 3.x and we had made the choice to do it in two phases: 1- First we started and finished the upgrade from 2.3 to 2.7.x which is the latest 2.x version (which was also not an easy task at all essentially due to hibernate changes ) 2- Then the plan was to go from 2.7.x to 3.x So as you said upgrading from 2.x to 3.x is not a walk in the park 😅
Warning. It is a huge upgrade from Spring Boot 2 to Spring Boot 3. If you don't have good test coverage then you should be careful. Some problems I got from my upgrade at work:
- Hibernate 6 (6.4 atm) comes with massive change in Java & DB type mappings. So, if you currently use DDL auto, you'd better switch to another schema management tool like Flyway or Liquibase before doing the upgrade.
- There is a bug in Hibernate 6 with StoredProcedureQuery that the result set mapping is messed up if you have INOUT param in your stored procedure.
- Don't try to upgrade too many dependencies at once, you might wanna do it gradually.
This is great! Absolutely! Some apps will upgrade to a this easy, not all. You have some great insights. Would you be willing to tell me more about your upgrade journey? I would really like to learn more. You can grab time in my calendar at DaShaun.com if you could spare some time! 🎉
This is so true, I totally agree.
I was leading a spring boot upgrade from version 2.3 to version 3.x and we had made the choice to do it in two phases:
1- First we started and finished the upgrade from 2.3 to 2.7.x which is the latest 2.x version (which was also not an easy task at all essentially due to hibernate changes )
2- Then the plan was to go from 2.7.x to 3.x
So as you said upgrading from 2.x to 3.x is not a walk in the park 😅
@@emileastih9006 Thanks for sharing your success story!