Top Description Methods
com.mysql.cj.conf

public Interface ConnectionPropertiesTransform

Imports
java.util.Properties

Implement this interface, and pass the class name as the 'propertiesTransform' property in your URL, and the driver will pass the properties it has parsed to your transform implementation so that you can modify/substitute/add any that you desire.

Method Summary

Modifier and TypeMethod and Description
public Properties

Returns:

the same properties with any transformations that your implementation has made
transformProperties
(Properties
the properties as passed by the driver (never null)
props
)

The driver will call this method if the user has loaded your implementation of this interface by specifying the 'propertiesTransform' property in their URL.

Method Detail

transformPropertiesback to summary
public Properties transformProperties(Properties props)

The driver will call this method if the user has loaded your implementation of this interface by specifying the 'propertiesTransform' property in their URL.

Parameters
props:Properties

the properties as passed by the driver (never null)

Returns:Properties

the same properties with any transformations that your implementation has made