I am running this simple query
select id,gid from dijkstra_sp('roads',22,33)
This works perfectly fine and returns results in postgres query terminal. However running exactly the same query in java triggers the error:
ERROR: type "geoms" does not exist
Where: compilation of PL/pgSQL function "dijkstra_sp" near line 6
Could anyone tell me how to solve this issue?