WIP: Spring boot 4 bump#193
Closed
lpedrosa wants to merge 1 commit into
Closed
Conversation
Closed
lpedrosa
marked this pull request as draft
November 25, 2025 11:17
Collaborator
|
@lpedrosa Surely Hibernate internal change must have caused this error. Do you have thoughts how to resolve? |
Contributor
Author
|
No idea 😄. I'll have to do some googling when I have some time. |
Collaborator
|
@lpedrosa I believe we don't have a choice other then to use Hibernate specific API to resolve the "departmentName" issue. I think we can use |
Collaborator
|
@lpedrosa would be able to dedicate some time finalize the PR? If no I can take it from here. |
Collaborator
|
Superseded by: #197 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumping the dependencies to support Spring boot 4. There are two major things that Spring boot 4 brings in which affects this upgrade (full list of deps can be found here):
As I've mentioned in this issue, Hibernate 7 moves some dialects to a separate community jar.
I'm ignoring
DerbyDialectfor now.Jackson 3 wouldn't be an issue, except for the fact that we use
hypersistence-utils-hibernate-XXfor testing. It seems the library only supports Jackson 2 and Vlad doesn't want to upgrade it just yet.I got around this by forcing Spring to use Jackson 2 for the tests, as suggested by the Spring boot 4.0 migration guide (check the changes in
rsql-jpa/pom.xml). That seems to get the test running.However, I get some test errors that I have no idea how to solve (I'm not a hibernate expert by any means).
For example:
It seems that in the previous version we could query for the
departmentNameattribute, assuming it exists in one of the children of theProjectclass hierarchy(deparmentNameis an attribute of theAdminProject, but not of theDesignProject).Maybe something changed in hibernate 7?
Let me know what you think @nstdio.