title: call a stored function on postgres from java
body: <p>I've created the following function in my Postgres database:</p>
  
  <pre><code>CREATE FUNCTION funct(arg1 type1, arg2 type2, ...) RETURNS void AS $$
  BEGIN
  --insert passed args in some tables
  END
  </code></pre>
  
  <p>How can I call this function from java and pass args properly?</p>