The top level XML elements in a database profile is as follows:
- InitCommands (optional)
Defines SQLs that are executed before the profile is being loaded,
Defines the SQLs for the ObjectsTreeDef, ObjectsViewDef and ObjectsActionDef,
- ObjectsActionDef (optional)
Defines actions for object types,
Defines the structure and what objects should be visible in the objects tree,
Defines the object views for a specific object type.
All database connections loads a database profile from an XML file and if there is no matching database profile, the generic profile is used. This profile use standard JDBC metadata requests to obtain information about the (some) objects in the database. The generic profile is located in
The following show an overview of a database profile with the top level XML elements.
The DOCTYPE identifier at row 2 defines the DTD that is used to validate the XML.
The root element for the database profile framework is the DatabaseProfile element setting various attributes. Continue to the next sections for information about XML elements forming a database profile.