FasterXML / jackson-datatype-hibernate

Add-on module for Jackson JSON processor which handles Hibernate (https://www.hibernate.org/) datatypes; and specifically aspects of lazy-loading
319 stars 106 forks source link

Add `jackson-datatype-hibernate6` for Hibernate 6 #158

Closed zUniQueX closed 1 year ago

zUniQueX commented 2 years ago

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

cowtowncoder commented 2 years ago

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

zUniQueX commented 2 years ago

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.

MartinHlavna commented 2 years ago

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

cowtowncoder commented 2 years ago

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

zUniQueX commented 2 years ago

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.

cowtowncoder commented 2 years ago

@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.