Re: Problem with Utilizing executeBatch() with stored procedures
В списке pgsql-jdbc по дате отправления:
| От | Guy Rouillier |
|---|---|
| Тема | Re: Problem with Utilizing executeBatch() with stored procedures |
| Дата | |
| Msg-id | 463F5871.8000102@burntmail.com обсуждение исходный текст |
| Ответ на | Problem with Utilizing executeBatch() with stored procedures ("Kranti Parisa" <kranti.parisa@gmail.com>) |
| Список | pgsql-jdbc |
Kranti Parisa wrote: > Hi, > > I saw few threads about this topic, but not able to get the solution. > Please help me how can we solve this problem. > I have a stored procedure which has to execute for all the given > employee ids. so i want to do that as a batch to get performance. > > but i am getting this error > > org.postgresql.util.PSQLException: A result was returned when none was > expected > > A million thanks in advance.. > Hoping for a quick reply Can't do this with the current production drivers. I'll forward you a customized driver sent to me by Dave Cramer that allows invocation of stored procedures in batch. I haven't seen any commitment to add this feature to future drivers. -- Guy Rouillier
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера