Comments (6)
It seems the Symfony 7 generator uses DBAL 4.0, this "bug" will annoy many people (I'm one of them ;)).
from doctrineextensions.
@mbabker is there a roadmap I could look at? Failing that, do you have any idea when DBAL 4.x will be implemented?
As this package is entirely supported by volunteers, there's no roadmap or timeline. But, the gist of what's required is basically to finish ORM 3 compat (as ORM 2 and DBAL 4 are not usable together, so there's nothing that can really be done to test this at the moment) then start working on DBAL 4 compatibility.
The fix noted in #2752 (comment) (basically changing any calls similar to $this->getObjectManager()->getConnection()->getDriver()->getDatabasePlatform()
to $this->getObjectManager()->getConnection()->getDatabasePlatform()
) could be sent as a PR at any time to fix this specific issue, but issues like #2502 are pretty big blockers to allowing DBAL 4 (and if I'm being honest, my gut feeling says that might not come without a major release of this package considering what would be involved to resolve that one).
from doctrineextensions.
DBAL 4.0 isn't supported right now and probably won't be for a while (IIRC ORM 2.x isn't getting support for it, so ORM 3.x compat has to be sorted out first).
from doctrineextensions.
The solution is actually to use the high-level API to access the platform (which has not change between 3.x and 4.x) instead of reaching for the low-level driver.
from doctrineextensions.
Note that the Symfony generator should be forcing DBAL 3.x for now since a few days.
from doctrineextensions.
Hi folks, I've installed Doctrine manually into a Laravel application and I'm experiencing the same problem.
DBAL 4.0 isn't supported right now and probably won't be for a while....
@mbabker is there a roadmap I could look at? Failing that, do you have any idea when DBAL 4.x will be implemented?
I'll build a workaround for my particular scenario.
from doctrineextensions.
Related Issues (20)
- Semantical Error WITH Doctrine ORM 3.0 HOT 2
- [Tree & Doctrine 3] Fatal Compile Error: Declaration of Gedmo\Tree\Entity\Repository\NestedTreeRepository::__call($method, $args) ... HOT 2
- string $targetTableAlias HOT 2
- in Symfony 7 annotation_reader no exists
- [Loggable] Add option to store prev data
- The bundle not set automatcly the value to updated_at and created_at columns when persisting data HOT 6
- Missing Reference Listener in the documentation
- [Tree] [materializedPath] Deleting parent removes children when onDelete="restrict" HOT 2
- Cannot get DoctrineExtensions to work with Symfony 7 HOT 3
- The service "gedmo.listener.softdeleteable" has a dependency on a non-existent service "annotation_reader". HOT 2
- Table ext_log_entries very very slow on queries HOT 7
- Timestampable issue mapping expects array HOT 2
- LogEntryInterface::getObjectClass() @phpstan-return is missing null HOT 2
- [Tree] Missing path value on insert a new document HOT 2
- Error for symfony v7 HOT 5
- A [SoftDeleteable] cycle has been detected, so a topological sort is not possible. The getCycle() method provides the list of nodes that form the cycle.
- Timestamble error getRawDateValue HOT 10
- Can't escape quote in orderby with the function INSTR() HOT 1
- Declaration of Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter::addFilterConstraint not compatible with Doctrine\ORM\Query\Filter\SQLFilter::addFilterConstraint HOT 2
- XSD out of sync with mapping drivers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctrineextensions.