Re: XADataSource implementation

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: XADataSource implementation
Дата
Msg-id 4311945B.8090700@opencloud.com
обсуждение исходный текст
Ответ на XADataSource implementation  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-jdbc
Heikki Linnakangas wrote:

> BTW: How does the translation work? What strings need to be translated?

Usually the only user-visible strings are exception messages. For simple
cases, just wrap the string in a call to org.postgresql.util.GT.tr(). If
there are variable parts to the string, use {0} {1} etc and use the
PSQLException ctor that takes separate substitution values. See the
existing code for examples.

-O

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: XADataSource implementation
Следующее
От: David Gagnon
Дата:
Сообщение: Re: implementing asynchronous notifications PLEASE CONFIRM MY