Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java connection String ORA-12650: No common encryption or data integrity algorithm

hades89-JavaNetJan 13 2016 — edited Jan 14 2016

I have problem connecting Oracle cloud database from my connection string, the error says:

ORA-12650: No common encryption or data integrity algorithm

I tried my connection string with other oracle dabatases, all works, except for this cloud db.

I also tried solution like this the following, but not works (changed parameters in sqlnet.ora)

https://doganay.wordpress.com/2012/06/28/ora-12650-no-common-encryption-or-data-integrity-algorithm/

String dbURL = "jdbc:oracle:thin:@<hostname>:1521:<SID>";

    try {

      Class.forName("oracle.jdbc.driver.OracleDriver");  

      Connection conn = DriverManager.getConnection(dbURL, "username", "password");

    }  catch (Exception e) {

      System.out.println("Database access failed " + e);

    }

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2016
Added on Jan 13 2016
0 comments
3,229 views