-
Oct 11th, 2012, 06:59 AM
#1
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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules