We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Database connection to Java (IntelliJ)

Received Response
6
Views
3
Comments
edited Nov 10, 2020 11:07AM in Oracle Cloud Infrastructure - General 3 comments

Summary

Error while trying to connect to Oracle database

Content

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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!