company logo

DatabaseContext - Database Context

The database context allows defining functionality that is executed when opening or closing a database. The database context does not have a parent context.

The default database context can be overloaded by a application specific database context class.

The database context provides some functionality in order to support database login. Within the doBeforeOpen() handler, one may call login() . This is not done automatically, but has to be called by an overloaded database context handler. The function calls the executeLogin() function from the assigned application context. By default, i.e. when no application context has been registered, this is the database context itself. For GUI applications, typically, the project context is registered as application context. The executeLogin() usually has to be implemented in the

Function Groups
Functions