求助,java连接oracle时出错!!!
我是oracle初学者,在eclipse上尝试java连接oracle时,出现了以下状况:
testing oracle-character-set-1 against <abc>
PASSED LOSSY
testing oracle-character-set-1 against <ab?c>
PASSED LOSSY
testing oracle-character-set-1 against <XYZ>
PASSED LOSSY
testing oracle-character-set-1 against <longlonglonglong...>
PASSED LOSSY
testing oracle-character-set-31 against <abc>
PASSED LOSSY
testing oracle-character-set-31 against <ab?c>
PASSED LOSSY
testing oracle-character-set-31 against <XYZ>
PASSED LOSSY
testing oracle-character-set-31 against <longlonglonglong...>
PASSED LOSSY
testing oracle-character-set-870 against <abc>
PASSED
testing oracle-character-set-870 against <ab?c>
PASSED
testing oracle-character-set-870 against <XYZ>
PASSED
testing oracle-character-set-870 against <longlonglonglong...>
PASSED
testing oracle-character-set-871 against <abc>
PASSED
testing oracle-character-set-871 against <ab?c>
PASSED
testing oracle-character-set-871 against <XYZ>
PASSED
testing oracle-character-set-871 against <longlonglonglong...>
PASSED
求大虾们指点,这是个什么状况??我在网上寻找过类似问题,但是没有得到比较好的解决,谢谢了!!!
------解决方案--------------------
把localhost改成你IP地址试试,另外,你数据库用SQLPLUS能登录连接不呢,首先确定是数据库问题还是程序问题,
------解决方案--------------------
如果SQL/PLUS能登陆,说明数据库通的,确认你程序没问题的话,会不会是JAR包的问题