I'm using the SQL query which uses a custom written function similar to this
CREATE OR REPLACE FUNCTION per_cont(myarray integer[], percentile real)
This works perfectly in the pgAdmin tool, but when I use this query in my java application it gives me an error:
function per_cont(integer[], real) does not exist
I'm using JDBI library to interact with the database. Why doesn't it find the function when running it from a java application? How can I fix it?