create alias with the same name but not the same signature
问题 In order to use H2 database in our Junit tests instead of calling Oracle, I am blocked on creating aliases on H2 to emulate some Oracle compatibility : I first declared an alias for to_char for date to char conversion : works fine create alias TO_CHAR as $$ java.lang.String toChar(java.util.Date date, String format) throws Exception{ ... }$$; Then I try to declare an alias for to_char for number to char conversion : now h2 doesn't accept it : create alias TO_CHAR as $$ java.lang.String toChar