I encounterd the same problems.
I use spring and ibatis to map the sql, when i call procedure in PostgreSQL, it always say that "no function matches the given name and argument types. you might need to add explicit type casts."
I feel so confused, cause I always use {call "schema"."procedure name"(?,?,?)} to interact SQL. Why does output say no "function" brabrara.
finally, I realized the problems occur in JDBC driver , the driver may invoke the old calling mode in bottom level.
So you may try this :
it may solve your problem.
Sorry, English is not my native tongue. so it will be a little messy.