Skip site navigation (1) Skip section navigation (2)

Re: XADataSource implementation

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: pgsql-jdbc(at)postgresql(dot)org, Michael Allman <msa(at)allman(dot)ms>
Subject: Re: XADataSource implementation
Date: 2005-08-28 10:39:23
Message-ID: 4311945B.8090700@opencloud.com (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-jdbc by date

Next:From: David GagnonDate: 2005-08-28 14:14:03
Subject: Re: implementing asynchronous notifications PLEASE CONFIRM MY
Previous:From: Heikki LinnakangasDate: 2005-08-28 07:34:17
Subject: XADataSource implementation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group