Re: getXXX methods

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: getXXX methods
Дата
Msg-id 40EB4D85.6080100@opencloud.com
обсуждение исходный текст
Ответ на Re: getXXX methods  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: getXXX methods  (Dave Cramer <pg@fastcrypt.com>)
Re: getXXX methods  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Dave Cramer wrote:
> Oliver,
>
> Well as Kris pointed out the javadoc is next to useless here. I see no
> harm in truncating the data, my assumption being that the user knows
> what they are doing.

If the application really wants silent truncation without warning can't
they do it directly in the query?

I think generating DataTruncation (nb: as a *warning*, not throwing an
exception) is still a good idea. Then at least the application gets some
sort of notification.

Have you read the DataTruncation javadoc & spec section?

-O

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: getXXX methods
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: getXXX methods