Re: Re: [HACKERS] JDBC adaptor issue

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [HACKERS] JDBC adaptor issue
Дата
Msg-id 200107111743.f6BHhs817911@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] JDBC adaptor issue  (Barry Lind <barry@xythos.com>)
Список pgsql-jdbc
> Actually the problem is worse than I thought.  Not only do all the
> get/setXXXStream methods assume the datatype is a BLOB, but also the
> get/setBytes methods.  This means that it isn't possible to support
> bytea as the binary datatype without also breaking some backward
> compatability.
>
> In looking at the CVS log, it appears that the stream methods were only
> introduced in the 7.1 JDBC driver, since 7.1 has only been out
> (production) a few months, the number of people affected will be
> smaller, the setBytes() method that assumed a blob was there in 7.0, so
> it is likely more people will be impacted by any change there.

If you are looking for votes, you can break backward compatibility here.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Dejan Vucinic"
Дата:
Сообщение: can't write a BLOB, 7.1.2
Следующее
От: Peter Eisentraut
Дата:
Сообщение: RE: jdbc and unix signals