Day: May 29, 2015

Web Service : fine control of object marshalling

When returning persisted objects in a web service, the marshaller will browse all the object tree. 2 problems can occur : The object tree is huge and the resulting XML

Hibernate : get the modified properties and their old values

Imagine your IHM sends you a big POJO object which is already persisted. Are you going to let Hibernate flush the whole state of the entity without even knowing what