Announcement Announcement Module
Collapse
No announcement yet.
Spring 3.1.2 MVC with Hibernate4 Jackson2 ignoring @JsonIgnore in EJB 3.1 entities Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3.1.2 MVC with Hibernate4 Jackson2 ignoring @JsonIgnore in EJB 3.1 entities

    I Have a Spring 3.1.2 MVC REST controller ( war file ) in which i am accesing ejb 3 entity beans through JNDI lookup ( jar file in jboss 7.1.1final (both the jar and war are packaged as an ear file ))

    I have annotated my ejb entity beans with @JsonIgnore , @JsonIgnoreProperties etc..
    but spring just seems to ignore these annotations present in my entity beans while serializing to JSON.

    Is this because these are entity beans defined in a separate jar and spring cannot understand the annotations defined?

    Has anyone accesed EJB's this way and serialized to JSON?
Working...
X