[!!!][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 frontend context. Documentation and an example implementation of using the API will follow in separate patches. Releases: master Resolves: #75454 Change-Id: I47837d9e77331132807bbb7fb956c359031b4f16 Reviewed-on: https://review.typo3.org/47111 Reviewed-by:Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- composer.json 2 additions, 1 deletioncomposer.json
- composer.lock 471 additions, 2 deletionscomposer.lock
- typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php 4 additions, 1 deletion...ses/Backend/ToolbarItems/SystemInformationToolbarItem.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 27 additions, 32 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Database/Connection.php 392 additions, 0 deletionstypo3/sysext/core/Classes/Database/Connection.php
- typo3/sysext/core/Classes/Database/ConnectionPool.php 159 additions, 0 deletionstypo3/sysext/core/Classes/Database/ConnectionPool.php
- typo3/sysext/core/Classes/Database/DatabaseConnection.php 26 additions, 20 deletionstypo3/sysext/core/Classes/Database/DatabaseConnection.php
- typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php 283 additions, 0 deletionstypo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php
- typo3/sysext/core/Classes/Database/Query/Expression/CompositeExpression.php 37 additions, 0 deletions...Classes/Database/Query/Expression/CompositeExpression.php
- typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php 340 additions, 0 deletions...e/Classes/Database/Query/Expression/ExpressionBuilder.php
- typo3/sysext/core/Classes/Database/Query/QueryBuilder.php 1049 additions, 0 deletionstypo3/sysext/core/Classes/Database/Query/QueryBuilder.php
- typo3/sysext/core/Classes/Database/Query/QueryContext.php 662 additions, 0 deletionstypo3/sysext/core/Classes/Database/Query/QueryContext.php
- typo3/sysext/core/Classes/Database/Query/QueryContextType.php 45 additions, 0 deletions...3/sysext/core/Classes/Database/Query/QueryContextType.php
- typo3/sysext/core/Classes/Database/Query/QueryRestrictionBuilder.php 371 additions, 0 deletions...t/core/Classes/Database/Query/QueryRestrictionBuilder.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-75454-LocalConfigurationDBConfigStructureHasChanged.rst 76 additions, 0 deletions...g-75454-LocalConfigurationDBConfigStructureHasChanged.rst
- typo3/sysext/core/Documentation/Changelog/master/Breaking-75454-TYPO3_dbConstantsRemoved.rst 31 additions, 0 deletions...ngelog/master/Breaking-75454-TYPO3_dbConstantsRemoved.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-75454-DoctrineDBALForDatabaseConnections.rst 73 additions, 0 deletions...ster/Feature-75454-DoctrineDBALForDatabaseConnections.rst
- typo3/sysext/core/Tests/AcceptanceCoreEnvironment.php 3 additions, 3 deletionstypo3/sysext/core/Tests/AcceptanceCoreEnvironment.php
- typo3/sysext/core/Tests/FunctionalTestCase.php 3 additions, 3 deletionstypo3/sysext/core/Tests/FunctionalTestCase.php
- typo3/sysext/core/Tests/Testbase.php 20 additions, 14 deletionstypo3/sysext/core/Tests/Testbase.php
Please register or sign in to comment