We recently configured our Oracle database to be in so-called native encryption
(Oracle Advanced Security Option).
As development goes on, some SQL
queries are sometimes badly-written and so an error should be returned by the JDBC
driver (ojdbc7 v12.1.0.2
). Instead of that, a Checksum Fail IOException
is raised.
So the problem is that we do not have anymore any syntax or database integrity error at all. The problem is the same in SQL GUI editors, like DBeaver
, SQLDeveloper
or SQuirrel
.
With driver ojdbc7 12.1.0.1 the correct VM parameter names are as follows:
-Doracle.net.crypto_checksum_client=REQUIRED
-Doracle.net.crypto_checksum_types_client=SHA1
Driver version 12.1 and earlier have a bug in SHA-2 functions If able force the server to handshake with SHA-1
-Doracle.net.crypto_checksum_client=REQUIRED
-Doracle.net.crypto_checksum_types=SHA1
This is fixed in ojdbc8.jar version 12.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With