Skip to content
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

When parsing an entity field annotated with FetchType.EAGER, the REPLACE_PERSISTENT_COLLECTIONS feature does not work. #109

Open
Javi opened this issue Aug 25, 2017 · 4 comments

Comments

@Javi
Copy link

Javi commented Aug 25, 2017

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.

@kamtorocks
Copy link

How to fix.....

@cowtowncoder
Copy link
Member

cowtowncoder commented 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.

@FasterXML FasterXML deleted a comment from kamtorocks Feb 28, 2019
@pses
Copy link

pses commented Dec 13, 2021

#146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@cowtowncoder @Javi @pses @kamtorocks and others