Hello - New to hibernate and trying to wrap my head around.
I have an existing app that uses hibernate to put data into and out of a data base. I have many classes that call the my particular hibernate object. ( sorry still leanring proper terms). My new requirement is to encrypt one column in the db table. rather than change all the pieces of code that call my hibernate persistant object.
I want my one hibernate object to do the encryption/decryption for me.
Can someone point me in the right direction to do that. I have the relatively new Baur-King "Java Persistance with Hibernate" book.
I tried modifying the setters and getters in the dto that hibernate uses. But it encrypted the value only while in the DTO. the unencrypted form was still being set in the db.