Hi Max,
Thanks for the reply.
max wrote:
no, that is not directly possible.
...but why not just encrypt the hbm.xml files or something ?
How are you going to ensure the key is "safe" if you could use a parameter?
I have to figure out that yet. May be store the key itself in the database.
There is lot of data in my tables that need to be encrypted I have around 15 columns to encrypt in one table. Also i have to repeat this for both <sql-update> and <sql-insert>. And if we decide to change the key in future. We have to change in all the places.
Can you point to any documentation regarding encrypting the .hbm files. After encrypting the file, how does hibernate read an encrypted .hbm file.
Thanks
Chandrika