My goal is to register a user defined function in h2. The second time I execute the program an error, stating that my function alias already exists, appears.
stmt.execute("CREATE ALIAS LEVENSHTEIN FOR
\"modules.musicProvider.LocalNetworkMusicProvider.computeLevenshteinDistance\"");
After taking a look at INFORMATION_SCHEMA, I can't find a way to check beforehand if the function is already defined or not.
- How do figure out if a user defined function is already defined?
- How do I delete user defined functions?