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

admin

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

<blockquote>
ORA-12650: No common encryption or data integrity algorithm
</blockquote>

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

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

<a href="https://doganay.wordpress.com/2012/06/28/ora-12650-no-common-encryption-or-data-integrity-algorithm/" rel="nofollow">https://doganay.wordpress.com/2012/06/28/ora-12650-no-common-encryption-or-data-integrity-algorithm/</a>

Code:
String dbURL = "jdbc:oracle:thin:@&lt;hostname&gt;:1521:&lt;SID&gt;";
try {
   Class.forName("oracle.jdbc.driver.OracleDriver");  
   Connection conn = DriverManager.getConnection(dbURL, "username", "password");
} catch (Exception e) {
   System.out.println("Database access failed " + e);
}