InitializationString
- Last Updated: October 27, 2015
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
Purpose
One or multiple SQL commands to be executed by the driver after it has established the connection to the database and has performed all initialization for the connection. If the execution of a SQL command fails, the connection attempt also fails and the driver returns an error indicating which SQL command or commands failed.
Valid Values
command
[[;
command
]...]
where:
- command
- is one or multiple SQL commands.
Note: Multiple commands must be separated by semicolons. In addition, if this option is
specified in a connection URL, the entire value must be enclosed in parentheses when
multiple commands are specified.
Default
None
Data Type
String