Re: XADataSource implementation - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: XADataSource implementation
Date
Msg-id 4311945B.8090700@opencloud.com
Whole thread Raw
In response to XADataSource implementation  (Heikki Linnakangas <hlinnaka@iki.fi>)
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: XADataSource implementation
Next
From: David Gagnon
Date:
Subject: Re: implementing asynchronous notifications PLEASE CONFIRM MY