Re: Errors using JDBC batchUpdate with plpgsql function

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Errors using JDBC batchUpdate with plpgsql function
Дата
Msg-id mi7jqk$i9$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Errors using JDBC batchUpdate with plpgsql function  (Hannes Erven <hannes@erven.at>)
Ответы Re: Errors using JDBC batchUpdate with plpgsql function
Re: Errors using JDBC batchUpdate with plpgsql function
Список pgsql-general
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.


В списке pgsql-general по дате отправления: