How to encrypt a column in Mysql using Hibernate @ColumnTransformer?
The User Guide has an example that might help you. Just change the functions to MySQL ones.
Thanks but I have this error .
The AES_DECRYPT MySQL function takes a binary string, not a String.
So, the encrypted columns should be stored in VARBINARY columns, not VARCHAR. Use byte[] for the password
entity propeerty.