, . . , User, . , , , , .., .
, , " ", / , " " ", . , User, , User. - , .
, , - User, EditableUser, , "changePassword" "confirmPassword", . , Hibernate , EditableUser. ( EditableUser , , , )
The way I came across this problem is to use delegation: create an EditableUser object that has a user inside it, as well as additional properties that I don't want to save. This works quite well, except that it means that all my data bindings to the form must be changed to access the internal user object, so it feels pretty dirty.
source
share