Обсуждение: Chage driver locale.

Поиск
Список
Период
Сортировка

Chage driver locale.

От
Jean Dannemann
Дата:
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.