Upgrade Guides for Genero BDL / 2.51 upgrade guide |
Allows database driver specification without target database version information.
Starting with version 2.51, the database drivers are following a new file name convention, to let you specify a generic name according to the target database type, without any database version information.
dbi.database.stores.driver = "dbmoraB2x"
dbi.database.stores.driver = "dbmora"
Each generic database driver name has also a human-readable alias, such as "informix" or "oracle".
dbi.database.stores.driver = "oracle"
To simplify driver specification, install the latest database client software that corresponds to the generic driver name, especially if it does not require a database server upgrade.
For some type of database client software, additional database drivers are still provided for older database client versions (if available on the platform). In such case, the driver file name gets a version identifier.
For example:
Such database drivers with version info are provided to follow db client library dependency rules, as defined by the database vendors. For example, on a Linux platform, Oracle MySQL version 5.1.x provides the db client library named libmysqlclient.so.16. In this file name, "16" is the version number that defines the shared library compatibility. The database driver that was compiled and linked in a compatible db client environment is dbmmys_5_1: This database driver is linked to libmysqlclient.so.16. Starting with Oracle MySQL version 5.5.x, the db client library version number has incremented to 18 (i.e. libmysqlclient.so.18). The driver to be used with that library version is dbmmys_5_5, which was compiled and linked with a 5.5.x environment.