Jasypt Users Forum

Jasypt + Hibernate3 integration + decrypt

by jmirmon :: Rate this Message:

Reply to Author | View in Thread

Hi!

I would like to encrypt some attributes of an entity in a transparent way when I persist it into database using Hibernate. I've followed the guide: http://www.jasypt.org/hibernate3.html and it works like a charm.

The problem is that when I want to get back the entity from database I would like to get the entity with all attributes decryted. I don't know if I am missing something important but I get the attributes encrypted.

I've followed all the steps of the guide. Any ideas?.

Thanks in advance.