Database connection to Java (IntelliJ)
Summary
Error while trying to connect to Oracle databaseContent
I already connected to SQL developer successfully.
But trying to connect to IntelliJ isnt working. I tried to establish a connection with the Code found in the Code Snippet.
I have set up jdbc driver successfully, and read trough all of the guides but getting this Error:
ERROR:
java.sql.SQLRecoverableException: I/O-Fehler: Got minus one from a read call
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:862)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:793)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:57)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:747)
Tagged:
1