I use Hibernate annotation to encrypt password
@ColumnTransformer(write = "crypt(?, gen_salt(...))")
private String password;
But after updating the entity I see in logs that password re-generated.
password=crypt('$2a$...
How to prevent this field from another encryption while saving the object?