PostgreSQLDialect: function md5() always returns a string value
---------------------------------------------------------------
Key: HHH-2721
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2721
Project: Hibernate3
Issue Type: Bug
Components: query-hql
Affects Versions: 3.2.4.sp1
Reporter: Dirk Leser
Priority: Minor
The md5() function always returns a string type and not the type given as parameter.
Therefore the line
registerFunction( "md5", new StandardSQLFunction("md5") );
has to be changed to
registerFunction( "md5", new StandardSQLFunction("md5",
Hibernate.STRING) );
in class org.hibernate.dialect.PostgreSQLDialect
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira