jackson-datatype-hibernate icon indicating copy to clipboard operation
jackson-datatype-hibernate copied to clipboard

Module for Hibernate 6

Open zUniQueX opened this issue 2 years ago • 2 comments

Are there any plans for development of a module for Hibernate 6 or rather 6.1 yet?

zUniQueX avatar Jun 27 '22 18:06 zUniQueX

Yes, if someone contributes an implementation. Unfortunately this module is without active owner at this point and is thereby not well supported.

cowtowncoder avatar Jun 28 '22 00:06 cowtowncoder

Thanks for the fast answer! Unfortunately, I'm not familar enough with Jackson and Hibernate to contribute a suitable implementation myself. Maybe this issue encourages somebody to make a PR.

zUniQueX avatar Jun 28 '22 13:06 zUniQueX

Looks like Hibernate 5 Jakarta module works for Hibernate 6 at the moment. I did test only basic serialization of "lazy proxies" though.

MartinHlavna avatar Oct 20 '22 07:10 MartinHlavna

Thank you @MartinHlavna -- maybe this encourages others to try it out, see how well it works.

cowtowncoder avatar Oct 22 '22 23:10 cowtowncoder

Thank you @MartinHlavna -- maybe this encourages others to try it out, see how well it works.

@cowtowncoder I've read the migration guide for Hibernate 6 and 6.1 and didn't see an issue for the Jakarta Jackson module, so this is my current workaround too.

zUniQueX avatar Oct 23 '22 20:10 zUniQueX

@MartinHlavna @zUniQueX thank you! One thing that'd be helpful if anyone has time would be a little PR for change(s) to README, mentioning compatibility.

cowtowncoder avatar Oct 23 '22 22:10 cowtowncoder