-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Spring boot 2.5+/Spring data 2021.0 #1333
Comments
The issues regarding the We fixed the compatibility for 2.3.x (#1100), 2.4.x (#1223) and even a minor change for 2.4.3 (#1267) so I am sure any 2.5.x issue will be resolved. |
Hey @jwgmeligmeyling,
|
Hi @ask4gilles, could you please debug to It would be awesome if you could provide a reproducer for this. You can use the maven archetype quickstart for this purpose if you want and post the project here:
|
Hi @beikov , I'm digging into the |
Sounds like there is something wrong with the integration and the new Spring Data version then. Unfortunately, I don't think I can give you any workaround for now other than sticking to 2.4 for the time. I'll definitely look into this in the coming days though for the next 1.6 release. |
Indeed, I can see here |
Maybe there is some class loader nonesense going on. Did you try to disable the devtools yet? https://persistence.blazebit.com/documentation/1.6/entity-view/manual/en_US/#spring-boot-devtools |
I'm not using it... |
Hmm, can you check if maybe the classloader is different from the class that is passed vs. the one within the map? |
It's the same one |
The issue is that the class used to retrieve from the |
I see, well in that case there is definitely something messed up with the integration in 2.5. Thanks for all the insights. That will be a great help when I work on this. |
FYI, I tried to downgrade spring data. |
This really helps fixing this issue fast, so thanks a lot for the analysis :) |
This is not a BP issue at all. The issues is that Jackson has been updated in SB 2.5 and this jackson version no longer allows silent fallbacks if a type could not have been loaded. This does just uncover missing jackson type serialization/deserialization issues which have been there before 2.4 but have been masked by Jackson. Mostly you issue here is entirely SB setup related:
We are using BP 1.6.1 with SB 2.5 since 2.5 was released, including Java time and we had to fix a couple of issues with non DI based objectMappers leading to this |
Thanks for your comment @EugenMayer , |
Hey @ask4gilles, do you think you can create a reproducer for this? I can't reproduce this by just updating the version in the testsuite unfortunately. |
That’s already a good news for you! |
Hi @beikov First, sorry to comment on a closed issue. In fact, regarding the
If I downgrade jackson to |
I can look at it tomorrow and I plan to do a release this weekend anyway, so maybe you don't need a workaround :) Do you have an idea how this could be fixed? |
Wow, it would be awesome since we had to cancel today's release because of that :/
|
Let's move the discussion to this issue: #1348 |
Would be cool if you could checkout the following PR and let me know if that works for you @ask4gilles: #1347 |
@beikov sure, I’ll have a look at it tomorrow ! |
Hi,
I just tried 1.6.1 together with SB 2.5.4 and got several issues regarding java.time module not added in the entityViewObjectMapper and exceptions regarding generated queries.
Do you plan to support this latest version?
Thanks!
The text was updated successfully, but these errors were encountered: