HHH-2721 PostgreSQLDialect: function md5() always returns a string value

This commit is contained in:
Nikolay Shestakov 2013-01-04 22:26:35 +06:00 committed by Brett Meyer
parent d18d04909f
commit 803acc3cad
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class PostgreSQL81Dialect extends Dialect {
registerFunction( "to_ascii", new StandardSQLFunction("to_ascii") );
registerFunction( "quote_ident", new StandardSQLFunction("quote_ident", StandardBasicTypes.STRING) );
registerFunction( "quote_literal", new StandardSQLFunction("quote_literal", StandardBasicTypes.STRING) );
registerFunction( "md5", new StandardSQLFunction("md5") );
registerFunction( "md5", new StandardSQLFunction("md5", StandardBasicTypes.STRING) );
registerFunction( "ascii", new StandardSQLFunction("ascii", StandardBasicTypes.INTEGER) );
registerFunction( "char_length", new StandardSQLFunction("char_length", StandardBasicTypes.LONG) );
registerFunction( "bit_length", new StandardSQLFunction("bit_length", StandardBasicTypes.LONG) );