Feature #75454

Doctrine DBAL database connections

Added by Morton Jonuschat about 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2016-04-08
Due date:
% Done:

100%

PHP Version:
7.0
Tags:
doctrine, dbal, database, postgres, mysql
Complexity:
Sprint Focus:

Description

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)

Associated revisions

Revision 4a5e2c86 (diff)
Added by Morton Jonuschat about 3 years ago

[!!!][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 <>
Tested-by: Frank Naegler <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 3d82d52a (diff)
Added by Wouter Wolters about 3 years ago

[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.

Resolves: #76258
Related: #75454
Releases: master
Change-Id: Ib86591525724b2fd189038a04dfa645815f4fe55
Reviewed-on: https://review.typo3.org/48238
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Morton Jonuschat <>
Tested-by: Morton Jonuschat <>

History

#1 Updated by Gerrit Code Review about 3 years ago

  • Status changed from In Progress to Under Review

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47111

#2 Updated by Gerrit Code Review about 3 years ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47111

#3 Updated by Gerrit Code Review about 3 years ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47111

#4 Updated by Morton Jonuschat about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Riccardo De Contardi over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF