设置Oracle JDBC瘦客户端的语言 [英] Set language for Oracle JDBC thin client

查看:56
本文介绍了设置Oracle JDBC瘦客户端的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在实际创建JDBC连接之前为其指定语言.

I want to specify language for the JDBC connection before it is actually created.

例如,如果我在中指定了错误的L/P凭证

For example if I specify wrong L/P credentials in

DriverManager.getConnection(url, user, password)    

我需要将ORA错误本地化为我选择的语言.我使用Oracle瘦客户端,并且设置NLS_LANG环境变量无效

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

推荐答案

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆