| От | Thomas Kellerer |
|---|---|
| Тема | Re: jdbc lob and postgresql |
| Дата | |
| Msg-id | fjppu4$nj3$1@ger.gmane.org обсуждение исходный текст |
| Ответ на | jdbc lob and postgresql ("Anu Padki" <padki23@gmail.com>) |
| Ответы |
Re: jdbc lob and postgresql
|
| Список | pgsql-general |
Anu Padki wrote on 12.12.2007 20:09: > Hello all, > > I am contemplating to use postgresql for a product that requires to > manipulate many blobs. > From the documentation I am not clear if one has to use postgres api to > insert/update/select blobs or one can use standard jdbc api? > Can I just execute a statement insert into (..) that has a blob and do a > getBlob to retrieve it? Using a PreparedStatement with setBinaryStream() to insert the blob and getBinaryStream() to read the BLOB works fine for me. Thomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера