| От | Giuseppe Sacco |
|---|---|
| Тема | Re: ResultSet with more than 5 rows causes error |
| Дата | |
| Msg-id | 1190915045.18730.45.camel@scarafaggio обсуждение исходный текст |
| Ответ на | Re: ResultSet with more than 5 rows causes error ("Ludovico Bianchini" <metlud@yahoo.it>) |
| Список | pgsql-jdbc |
Il giorno gio, 27/09/2007 alle 18.45 +0200, Ludovico Bianchini ha scritto: [...] > The stored procedure returns an integer parameter, which must be registered > with > > insertCall.registerOutParameter(1, Types.INTEGER); > > In a first attempt I wrote > > insertCall.setObject(i,data); > > but an error happened: the last parameter was not set. So: if there is a > return value, the arguments index starts from 2. I think OUT parameters are not related to the setObject(...) calls. These parameters are for the resultset associated the execute(...) method. Try again as you did earlier, it should work. If it doesn't, then please post that error message.
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера