Re: driver beta release

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: driver beta release
Дата
Msg-id Pine.BSO.4.56.0411091146460.21184@leary.csoft.net
обсуждение исходный текст
Ответ на Re: driver beta release  (Hunter Hillegas <lists@lastonepicked.com>)
Ответы Re: driver beta release
Список pgsql-jdbc

On Tue, 9 Nov 2004, Hunter Hillegas wrote:

> I dropped this new driver in and ran it with Jboss against my 7.4.5
> server...
>
> One of our legacy apps seems to have some 'suspicious' coding practices
> going on... The keys in the DB are int4 but the app seems to use Strings
> everywhere in JDBC...
>
> The old driver sent along the string and it went into the query. The new
> driver seems to be more sensitive to the correct types being used...
>
> Retrofitting the old app will take some time and we'd like to start testing
> 8.0 and the new drivers now. Any way to ask the driver to revert to the old
> behavior for certain applications?
>

You can add ?protocolVersion=2 to the JDBC URL.  Which will make it use
the older un-parameterized method of sending queries.

Kris Jurka

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

Предыдущее
От: Hunter Hillegas
Дата:
Сообщение: Re: driver beta release
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: persistence of java objects