A model element may have the following attributes:
name:
adaptorName:MySQL, Oracle , Postgresql and SQLite
(exact spelling) are valid adaptorNames (correspond
respectively to the packages MySQLAdaptorLayer,
OracleAdaptorLayer, PostgresqlAdaptorLayer and
SQLiteAdaptorLayer).
packageName:Dotted-names are supported. This is used both when the code-templates are generated and at run-time, when objects of a certain type (entity) must be instanciated and populated with fetched values. The value stored in the model should therefore be kept in step with your current python installation.
See also: 2.3.2, Entity's
properties className and moduleName, and
B.1, FAQ.
comment:
connectionDictionary:
A connection dictionary is always made of the following keys:
host, database, user, and password. An
additional key: port allows you to specify the port number to
which the database server listens.
The adaptors in the framework make a different use of each of these
keys to connect to a database. For example, the adaptor for SQLite
only requires one key to be defined: database, pointing to the
file containing the database. For an exact definition of how different
adaptors use the connection dictionary, please refer to their
respective documentation: