Brekeke Contact Center Suite Wiki

getConnection

java.sql.Connection getConnection()

Returns the connection to the database.

 

Parameters:

none

 

Returns:

The database connection. Returns null if the database connection settings are invalid or no connections were made. Please make sure to close the instance of Connect class always after using. (The actual database connection is returned back to connection pool and retained). Please refer to Java API manual on how to use java.sql.Connection interface.

Yes No
Suggest Edit