You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Hibernate 5 ReplacePersistentCollectionTest test suites, changing the Customer class collection fields into eager fetching and commenting the Assert.assertFalse(Hibernate.isInitialized(customer.getPayments())); line from the testReplacePersistentCollection reproduces the bug clearly.
For now, if the feature is needed, it should only be used with lazily loaded fields.
@Leenin I do not use Hibernate, I don't know how it works, and I do not have itch to scratch. If someone has, feel free to contribute a fix.
Unless someone actually cares and has time to invest, this module will be dropped from Jackson 3.x, and until then please do not at me. If you want to discuss things, go to fucking mailing list and do not add notes here demanding help.
When parsing an entity field annotated with FetchType.EAGER, the REPLACE_PERSISTENT_COLLECTIONS feature does not work. · Issue #109 · FasterXML/jackson-datatype-hibernate
Activity
kamtorocks commentedon Feb 26, 2019
How to fix.....
cowtowncoder commentedon Feb 28, 2019
@Leenin I do not use Hibernate, I don't know how it works, and I do not have itch to scratch. If someone has, feel free to contribute a fix.
Unless someone actually cares and has time to invest, this module will be dropped from Jackson 3.x, and until then please do not at me. If you want to discuss things, go to fucking mailing list and do not add notes here demanding help.
pses commentedon Dec 13, 2021
#146