[PATCH] Cleanup of JDBC character encoding

Поиск
Список
Период
Сортировка
От Anders Bengtsson
Тема [PATCH] Cleanup of JDBC character encoding
Дата
Msg-id Pine.LNX.4.33.0107081710420.3235-400000@sensenet.localdomain
обсуждение исходный текст
Ответы Re: [PATCH] Cleanup of JDBC character encoding  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [PATCH] Cleanup of JDBC character encoding  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-jdbc
Hello,

With this patch I've done an attempt to make the handling of character
encoding in the JDBC driver a little clearer.

* Cleans up the logic to select a JVM encoding for a backend encoding.
* Makes the connection setup code easier to read.
* Gathers character encoding and decoding in a single place.
* Adds unit tests for encoding.
* Introduces a new class, org.postgresql.core.Encoding, and the
corresponding unit test class, org.postgresql.test.jdbc2.EncodingTest.

It shouldn't change the external behavior of the driver.

/Anders

_____________________________________________________________________
A n d e r s  B e n g t s s o n                   ndrsbngtssn@yahoo.se
Stockholm, Sweden

Вложения

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

Предыдущее
От: jason@netspade.com
Дата:
Сообщение: DatabaseMetaData.getCatalogs()
Следующее
От: jason@netspade.com
Дата:
Сообщение: Re: DatabaseMetaData.getCatalogs()