• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling PostgreSQL function with VARIADIC param from Java; how to please?  RSS feed

 
Samm Danielss
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I googled extensively but could not find any samples on how to call a PostgreSQL function with VARIADIC parameter from Java.
This is a sample function I cannot seem to call from Java no matter what.
Any idea/help/link/sample greatly appreciated in advance.

Here's a sample PostgreSQL function I lifted from somewhere. It works when I call it from pgAdmin but all my attempts to call it from Java fail.

 
Knute Snortum
Sheriff
Posts: 4288
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your best Java code attempt.  How does it fail?  Post any exception message and stack trace.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!