conn = DriverManager.getConnection("jdbc:postgresql://localhost:5535/test", "test", "test");
stat = conn.createStatement();
ResultSet rs;
stat.execute("prepare test(int, int) as select ?1*?2");
rs = stat.executeQuery("execute test(3, 2)");
rs.next();
assertEquals(6, rs.getInt(1));
stat.execute("deallocate test");
PreparedStatement prep = conn.prepareStatement("insert into test values(?, ?)");