Session, thread, and transaction management
The DataBlade® API provides categories of functions for managing sessions, threads, and transactions.
Function category | DataBlade API function | DataBlade API function |
---|---|---|
Obtaining connection information | Connection-parameter functions: mi_get_connection_info() Session-parameter functions: mi_get_parameter_info() Connection user-data functions: mi_get_connection_user_data() |
Database-parameter functions: mi_get_database_info() Other connection functions: mi_get_connection_option() |
Establishing a connection | Server side: mi_open() Server side, Advanced function: mi_get_session_connection() |
Client side: mi_open() |
Closing a connection | mi_close() | |
Initializing the DataBlade API | mi_init_library() |
mi_open() |
Managing HCL OneDB™ threads (server side only) | mi_call() |
Advanced function: mi_call_on_vp() |
Obtaining transaction and server-processing state changes | mi_transaction_state() (Server) |