Hi guys,
I'm writing an application with blazeds-hibernate-spring on server side and flex on client side.
I've my classes separated with pojo and dto.
On my User class pojo, I've some properties suchs email, login, password, ... On my User class dto, the property password is never send in the pojo -> dto direction, but only in dto -> pojo (so, from client to server).
Now, in this class, I want to implement crud function. Insert is easy but I'm quite stuck with update. The problem is that when I came back from dto to pojo, my pojo's password is null.
Is there any way to tell my HibernateDaoSupport to ignore some property if the property value is X or Y but include it when the value is not X or Y ? In this case, ignore password if null, save it if not null ?
Thanks for your time, B
|