mardi 24 février 2015

Ignore @Transient fields of an entity automatically during json serialization



I am using hibernate for entity persistance in application along with spring mvc I have a multiple @Transient fields in an entity in a application is there a way to tell Json parser to automatically ignore all @Transient annotated fields in entity without the need to use @JsonIgnore or @JsonIgnoreProperties




Aucun commentaire:

Enregistrer un commentaire