Skip Headers

# Configuring Properties

Previous

Next

For all `DatasourceLogin` types, you can specify custom named values, called properties. Some data sources require additional, driver-specific properties not supported in the `DatasourceLogin` API (for example, see "JDBC Driver Properties Optimization"). Add these properties to the `DatasourceLogin` so that TopLink can pass them to the driver.

For relational sessions, you must first enable advanced option Use Properties (see "Configuring Advanced Options").

For EIS sessions, properties are always enabled.

Note: Do not set a password as a property. Always use TopLink Workbench or `DatabaseLogin` method `setPassword`. For more information on configuring a password, see "Configuring User Name and Password".

When using TopLink Workbench, you can only set character values, which TopLink returns as `String` objects (see "Using TopLink Workbench").

When using Java, you can set any `Object` value (see "Using Java").