Search Postgresql Archives

Re: Errors using JDBC batchUpdate with plpgsql function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hannes Erven schrieb am 04.05.2015 um 12:31:
> Hi,
> 
> 
>>          String sql = "select test_user_result_insert_func(?, ?, ?);";
> 
> You can't call functions via JDBC like that. 

That's perfectly valid - unless the function uses out parameters or ref cursors. 

I am however unsure about batched statements here. So trying CallableStatement is definitely worth a shot. 




-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux