I would like to use the setter of my Entity without updating the database.
credentials.setPassword(null);
return credentials;
While doing this, it automatically update the DB and set the password to null. I would like to return the object credentials with password null, without updating the DB
Anyone knows how to do it?