Hi, I am build an application which will copy 180.000 rows from AS400 database (not encripted) to MySQL database (encrypted).
So, I found that jasypt is killing the performance of copy.
The application is build using Hibernate. Hibernate encrypt data when in commit phase. So, in this time it take long time running.
As an workaround, I tried to introduce an ExecutorService pool to encrypt manually in parallel.
But, jasypt put all thread waiting for the same object.
I tried some of daniel is workaround (which I understand a little bit) without success.
So, Mike did you have success? Can you provide your code?
For test purpose, In home I am using sql server database for simulate AS400 an MySQL. The code contain every thing necessary to start run without any problem. I will upload the project (27KB) build in eclipse IDE. Please append hibernate and jasypt lib necessary.
sincssac.zip