I have a spring REST controller (.war file) that accesses ejb3.1 entity beans ( jar) in a single ear file.
I have used the @JsonIgnore annotation in my entity beans to try and ignore certain properties but when spring uses json to serialize the entity instance the ignored properties are present.
Has anyone faced an issue of @JsonIgnore failing to ignore properties ?
Can you create a simple WAR without Spring and see if it works OOTB (possibly isolating the issue to Spring)?