Purpose

Determines whether data is encrypted and decrypted when transmitted over the network between the driver and database server.

Valid Values

noEncryption | SSL

Behavior

If set to noEncryption, data is not encrypted or decrypted.

If set to SSL, data is encrypted using TLS/SSL. If the database server does not support TLS/SSL, the connection fails and the driver throws an exception.

Data Source Methods

public String getEncryptionMethod()

public void setEncryptionMethod(String)

Default

noEncryption

Data Type

String

See also

Performance considerations