HHH-2721 PostgreSQLDialect: function md5() always returns a string value
This commit is contained in:
parent
d18d04909f
commit
803acc3cad
|
@ -119,7 +119,7 @@ public class PostgreSQL81Dialect extends Dialect {
|
||||||
registerFunction( "to_ascii", new StandardSQLFunction("to_ascii") );
|
registerFunction( "to_ascii", new StandardSQLFunction("to_ascii") );
|
||||||
registerFunction( "quote_ident", new StandardSQLFunction("quote_ident", StandardBasicTypes.STRING) );
|
registerFunction( "quote_ident", new StandardSQLFunction("quote_ident", StandardBasicTypes.STRING) );
|
||||||
registerFunction( "quote_literal", new StandardSQLFunction("quote_literal", 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( "ascii", new StandardSQLFunction("ascii", StandardBasicTypes.INTEGER) );
|
||||||
registerFunction( "char_length", new StandardSQLFunction("char_length", StandardBasicTypes.LONG) );
|
registerFunction( "char_length", new StandardSQLFunction("char_length", StandardBasicTypes.LONG) );
|
||||||
registerFunction( "bit_length", new StandardSQLFunction("bit_length", StandardBasicTypes.LONG) );
|
registerFunction( "bit_length", new StandardSQLFunction("bit_length", StandardBasicTypes.LONG) );
|
||||||
|
|
Loading…
Reference in New Issue