usecase: Load database connections

public usecase: Load database connections
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 0:13:17; Modified: 7.12.2005 0:36:37;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {86D78B98-A85D-43c5-874B-8C656147EC10}

Goto: Scenarios

See also: Program

Appears in: UC Database connections

Load database connections Scenarios
Scenario Type Detail
Create object DatabaseInfos Basic Path Create object DatabaseInfos. Parameters of constructor determine file with configuration file.
Load information Basic Path Load information from configuration file (set in step before).
Each part of configuration file is passed as parameter into DatabaseInfo constructor.
DatabaseInfo object check state of connection:
- Valid,
- Error (can not execute SQL statement for select name of all tables)
- Broken (database is unreachable).
If connection is Valid or Error, obtain Driver name. According driver name is create object ConvertSQL for Set sql statmenets for table manipulating, definition of basic data types and other informations associated with specific database.