Connection handling

This section describes how to initialize, establish, and close connections.

When a DataBlade® API module begins execution, it has no communication with a database server; however, for SQL statements to execute, such communication must exist. To establish this communication, a DataBlade API module must take the following steps:
  1. Initialize a connection to the database server and, optionally, a database. (Server only)
  2. Establish the connection and initialize the DataBlade API.

To end the communication, the DataBlade API module must close the connection.