Chage driver locale. - Mailing list pgsql-jdbc

From Jean Dannemann
Subject Chage driver locale.
Date
Msg-id CAJpLn9vsGU=R7W5ckE+fbmNLs6m9_toqWTAzGTzwwdo7+n9uaQ@mail.gmail.com
Whole thread Raw
Responses Re: Chage driver locale.  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Hi.

I just realized that the PostgreSQL JDBC JAR contains a package called org.postgresql.translation with the messages translations for many countries.

How do I change the JDBC driver's locale? I would like to have portuguese messages (pt_BR).

I've tried with "-Duser.language=xx -Duser.region=YY" on catalina.bat but it did not worked.

PS: I have postgresql-42.1.4.jar in the lib directory of my Tomcat server and my application obtains the database connection via JNDI.

Thanks in advance.

pgsql-jdbc by date:

Previous
From: Jorge Solórzano
Date:
Subject: Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar
Next
From: Dave Cramer
Date:
Subject: Re: [JDBC] Chage driver locale.