I want to specify language for the JDBC connection before it is actually created.
For example if I specify wrong L/P credentials in
DriverManager.getConnection(url, user, password)
I need to get ORA error localized to the language I selected. I use Oracle thin client and setting NLS_LANG environmental variable did not work. :-(