Skip to content

Feature.USE_TRANSIENT_ANNOTATION does not work with current jackson-data #47

@StefanSos

Description

@StefanSos

since version 2.0 of jackson-data the isIgnorable...() methods of AnnotationIntrospector are replaced with hasIgnoreMarker(). Therefore Feature.USE_TRANSIENT_ANNOTATION does not work.

In class HibernateAnnotationIntrospector the isIgnorable...() methods should be replaced by:

@Override
public boolean hasIgnoreMarker(AnnotatedMember m) {
    return _cfgCheckTransient && m.hasAnnotation(Transient.class);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions