Using Connection Properties
- Last Updated: April 1, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Cassandra 6.0
- Documentation
You can use connection properties to customize the driver for your
environment. This section organizes connection properties according to functionality. You can
use connection properties with either the JDBC DriverManager or a JDBC
DataSource. For a DriverManager connection, a property is
expressed as a key value pair and takes the form property=value.
For a DataSource connection, a property is expressed as a JDBC method and
takes the form setproperty(value). Connection
property names are case-insensitive. For example, Password
is the same as password.
Note: In a JDBC
DataSource, string values must be
enclosed in double quotation marks, for example, setKeyspaceName("MyKS").See "Connection Property Descriptions" for an alphabetical list of connection properties and their descriptions.