Doctrine DBAL database connections
Provide a database connection based on Doctrine DBAL that will replace the current DatabaseConnection class, EXT:dbal and EXT:adodb
The following features from EXT:dbal should be provided by the new connection:
- Manage/select database connections based on table name
- Rewriting MySQL specific functions for other database platforms (for example FIND_IN_SET)
[!!!][FEATURE] Introduce Doctrine DBAL database connections
The Doctrine DBAL library is added as a composer dependency
as a foundation to replace the current DatabaseConnection class,
EXT:dbal and EXT:adodb.
Doctrine DBAL is encapsulated within a ConnectionPool class that
manages the connections to all defined database connections.
The main parts of the patch consist of the connection management,
convenience methods for simple SQL queries, a QueryBuilder to build
complex queries in a database platform independent way and a
QueryRestriction Builder that aims to replace deleteClause and
BEenableFields in the backend context as well as enableFields in
Documentation and an example implementation of using the API will
follow in separate patches.
Reviewed-by: Frank Naegler <email@example.com>
Tested-by: Frank Naegler <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
[TASK] Remove reintroduced obsolete LocalConfiguration settings
With the introduction of Doctrine DBAL the obsolete settings of
all upgrade wizards related to TYPO3 CMS 7 are added again.
Remove them now again.
Reviewed-by: Georg Ringer <email@example.com>
Tested-by: Georg Ringer <firstname.lastname@example.org>
Reviewed-by: Morton Jonuschat <email@example.com>
Tested-by: Morton Jonuschat <firstname.lastname@example.org>