james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: James 3 JPA question
Date Thu, 07 Jul 2011 04:45:58 GMT
This does not seem to be supported via JPA.

You could extend the class, rewrite the accessor to encrypt/decrypt and 
update persistence.xml to define your class.

You could also read 

Hopes this help.

On 06/07/11 23:02, Saibabu Vallurupalli wrote:
> Hi,
> I am new to Apache James we are using Apache James with MySQL database.
> I have a requirement to encrypt and decrypt the email message. I have spent
> some time to understand how the persistence mechanism works in James. Found
> persistence.xml file and also sqlResources.xml file. After running some
> tests, I found sqlResources.xml file is not used anymore in my
> configuration.
> Now, My question is how the james_mail table is getting updated? Is there
> any possibility to Encrypt/Decrypt message? I thought it is easy if
> sqlResources.xml file is used. I can simple add AES_Encrypt and AES_Decrypt
> functions to column.
> Please help me with this.
> Thanks,
> Sai


To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message