DataSource :: connectionName - CONNECTION_NAME option
The connection name is used for reconnecting the database.
This is a unique connection name assigned to the connection. When caching connections (e.g. when running WEB applications), connections are not closed when a client disconnects. The connection name is used for fast client reconnect. Moreover, the client session on the server side is able to maintain client states while the client is not closed.
Implementation overview
- Connection name
DataSource :: connectionName (  ) - Set connection name
DataSource :: connectionName ( sConnectionName )
Implementation details
-
Connection name
odaba::String DataSource  :: connectionName (  )
The function returns the unique connection name.
to list
-
Set connection name
odaba::String DataSource  :: connectionName ( odaba::String &sConnectionName )
Setting the connection name will not reconnect automatically. In order to activate the new connection, connect() has to be called.
- sConnectionName
- Connection name
This is a unique connection name assigned to the connection. When caching connections (e.g. when running WEB applications), connections are not closed when a client disconnects. The connection name is used for fast client reconnect. Moreover, the client session on the server side is able to maintain client states while the client is not closed.
to list
- sConnectionName
- Connection name