[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2721) PostgreSQLDialect: function md5() always returns a string value
Dirk Leser (JIRA)
noreply at atlassian.com
Wed Jul 11 18:07:52 EDT 2007
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list