[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3092) MySQL Dialect is missing AES_DECRYPT()/AES_ENCRYPT()

Wallace Wadge (JIRA) noreply at atlassian.com
Fri Feb 1 09:19:55 EST 2008


MySQL Dialect is missing AES_DECRYPT()/AES_ENCRYPT()
----------------------------------------------------

                 Key: HHH-3092
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3092
             Project: Hibernate3
          Issue Type: Patch
          Components: core
    Affects Versions: 3.2.5
         Environment: MySQL
            Reporter: Wallace Wadge
            Priority: Minor


org\hibernate\dialect\MySQLDialect is missing out on two other MySQL functions:

AES_ENCRYPT()

and

AES_DECRYPT()

(see http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html#function_aes-encrypt)

Please add (untested):
registerFunction("aes_encrypt", new StandardSQLFunction("aes_encrypt", Hibernate.STRING) )
registerFunction("aes_decrypt", new StandardSQLFunction("aes_decrypt", Hibernate.STRING) )

Tks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list