Aktionen
GX-Task #70616
offenBreaking changes with Doctrine upgrade in GX 4.9
Status:
Gemeldet
Priorität:
Normal
Zugewiesen an:
-
Kategorie:
Change
Zielversion:
% erledigt:
0%
Betroffene Versionen:
Unbestimmt
Beschreibung
With GX 4.9 Doctrine will be upgraded. Here is a list of the relevant changes:
Doctrine\DBAL 3.6 Changes:
-
execute()
andexec()
methods should now be chaged toexecuteQuery()
orexecuteStatement()
-
executeQuery()
returns aResult
class that contains all the methods below, while theexecuteStatment()
returns the number of affected rows fetchAssociative()
fetchAllAssociative()
fetchOne()
fetchFirstColumn()
fetchNumeric()
fetchAllNumeric()
-
-
FetchMode::class
is deprecated -
Events::postConnect
is deprecated, a custom Middleware should be implemented instead - The method
setParameter()
must not contain any:
as a parameter name, it should be for example:$qb->setParameter('foo', 2);
and NOT$qb->setParameter(':foo', 2);
Nichts anzuzeigen
Aktionen