Project

General

Profile

Actions

Bug #78116

closed

extbase setting statement directly should support Doctrine\DBAL\Statement

Added by Andreas Allacher over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2016-09-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

With the change to doctrine DBAL extbase direct query
should also support "\Doctrine\DBAL\Statement" as prepared statements
instead of only "\TYPO3\CMS\Core\Database\PreparedStatement"
especially as that class uses DatabaseConnection which is deprecated.

See the if condition in getObjectDataByRawQuery
https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php#l399

which doesn't check for possible doctrine prepared statement.

Actions

Also available in: Atom PDF