walfrat

Results 5 comments of walfrat

Nop i can reproduce the issue with a user -> manager relationship (many to one, optional). Here's is a github sample project https://github.com/walfrat/jackson-ignore-properties-lazy-objects Some explanation are required : I have...

can't edit : the result is ``` json {"id":27,"name":"user","address":"address","manager":{"id":25,"name":"manager","address":"ADDRESS THAT SHOULD NOT BE SHOWN","manager":null,"anotherManager":null},"anotherManager":{"id":26,"name":"eager manager","manager":null,"anotherManager":null} } ```

Nop still the same after upgrade to 2.7.0-rc3. I don't think it could be related to TypeErasure since the problem can happen on a non-collection field (Lazy Many-To-One) 2016-01-05 19:03...

Detached entities are about JPA, not sure this module is made to handle JPA. Otherwise you can try to use OpenSessionInViewFilter http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.html if you use spring to manage your transactions.