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

Add a per-property annotation to force (or not) loading of property value

Open cowtowncoder opened this issue 12 years ago • 2 comments

Currently there exists global setting of 'HibernateModule.Feature.FORCE_LAZY_LOADING' which can be used to ensure that data marked to be lazily loaded is actually forced to be loaded when serializing. But there are cases where it would be better to allow defining per-property overrides, instead of a global setting.

cowtowncoder avatar Aug 08 '11 18:08 cowtowncoder

Wow... open since 2011!

uded avatar Aug 08 '18 19:08 uded

This is a must-have with the combination with @JsonView

ssijak avatar Dec 13 '18 19:12 ssijak