Home > database >  Java link Oracle throw exceptions, but can use PLSQL connected
Java link Oracle throw exceptions, but can use PLSQL connected

Time:10-05

Java. SQL. SQLException: Io exception: Connection refused (DESCRIPTION==(TMP) (VSNNUM=185599744) (ERR=12505) (ERROR_STACK=(ERROR=(CODE=12505) (EMFI=4))))

In PLSQL connection using the user name and password, the instance name can be connected to the ORACLE, but not in Java code is, turn to attack!

CodePudding user response:

Import the corresponding driver?
Step through it to see which step is the problem

CodePudding user response:

You this situation, it is ok to basically change the jars;
  • Related