Brekeke Contact Center Suite Wiki

getDb

ConnectionManager getDb( String dbname )

Returns the instance of Connection Manager class from the JDBC driver. Please refer to the setCallLevel function in the default script _dnis. Below is an example of database settings that can be added to the Advanced Options.

 

Example:
db1.driver=com.mysql.jdbc.Driver
db1.url=jdbc:mysql://localhost:3306/com?useUnicode=true&characterEncoding=UTF-8
db1.user=root
db1.password=root

In this example, db1 is specified as the parameter dbname.

 

Parameters:
dbname The name of the JDBC setting

 

Returns:

The instance of ConnectionManager class.

 

Yes No
Suggest Edit