| От | Per Ivansson |
|---|---|
| Тема | postgreSQL functions and postgres JDBC |
| Дата | |
| Msg-id | 001201c1737b$4e02e9f0$f200a8c0@pimob обсуждение исходный текст |
| Ответы |
Re: postgreSQL functions and postgres JDBC
|
| Список | pgsql-jdbc |
Hi, I'm looking for an "easy" way to change DB server from MS SQL Server to PostgreSQL. The site is using servlets that calls stored procedures. As I understand it postgreSQL functions can only return a basic datatype while stored procedures in MS SQL Server return recordsets that can be retrieved from the Jdbc:Odbc bridge into Java ResultSet: ResultSet rs=cstmt.executeQuery(); My question is: How does this work with postgres JDBC. Do your just make a CallableStatement end execute the query (name of the function and parameters) the same way, and if so, what do I get back? A ResultSet with 1 row and 1 column? Greatful for an answer. /Per
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера