| От | Craig Ringer |
|---|---|
| Тема | Re: JDBC and Blobs |
| Дата | |
| Msg-id | 485A5EC8.2030007@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | JDBC and Blobs (Dev <dev_hyd2001@yahoo.com>) |
| Список | pgsql-jdbc |
Dev wrote: > Hi, > > I have a field in my database table of type OID which is suppose to be used to store binary data. I plan on using the setBloband getBlob methods for storing and retrieving entries from the table. Is that the right way to proceed? If I deletea row in that table , will it delete the binary data as well from the database server? I haven't used it myself, but my understanding is that deleting the row will NOT free the associated blob. The oid is only a reference to the blob. You probably want the `lo' contrib module: http://www.postgresql.org/docs/8.3/static/lo.html -- Craig Ringer
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера