Re:Java 21: The Nice, the Meh, and the Momentous
by ivan_gammel on Saturday September 23, 2023 @11:00AM
(#37623851)
You don’t have to use its functionality to use its BOM.
[ Parent
| on HN ]
Re:Java 21: The Nice, the Meh, and the Momentous
by Macha on Saturday September 23, 2023 @11:11AM
(#37623971)
So honestly I didn't realise that it's POM extended to ecosystem libraries beyond Spring's own. However, it still doesn't solve the problem that e.g. the hibernate version compatible with Spring Framework n+1 is not compatible with the hibernate version compatible with Spring Framework n and now you're doing an "all or nothing" upgrade, which for a large app can be time consuming.
Re:Java 21: The Nice, the Meh, and the Momentous
by ivan_gammel on Friday September 29, 2023 @02:06PM
(#37707995)
The point of using BOM is to avoid specifying dependency versions of individual components, so this problem is in reality non-existent. The only case when you would actually need to have different version of Hibernate than in your BOM is some critical bug fix, which is very likely a patch version and is very unlikely to break compatibility with the rest of your setup.