| От | Kevin Grittner |
|---|---|
| Тема | Re: Experiences with pl/Java |
| Дата | |
| Msg-id | 20121121020852.156410@gmx.com обсуждение исходный текст |
| Ответ на | Experiences with pl/Java (Thomas Hill <Thomas.K.Hill@t-online.de>) |
| Список | pgsql-general |
Thomas wrote: > have tested further combinations - without success - any other > idea? > [attempts to use Java parameter list for PostgreSQL OUT parameters] My guess is that for a single PostgreSQL OUT parameter you should make your Java function return a value of that type and omit the parameter from the Java function signature. PostgreSQL implements OUT parameters in a different way from what I've seen in other products: a single OUT parrameter is the same as specifying the type in the RETURNS for the function. Specifying multiple OUT parameters returns a record with matching fields. That always seems odd to me, but at this point it is very unlikely to change. -Kevin
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера