2726 search results for Doctrine

... /collections/many-to-many-inverse#the-owning-vs-inverse-side-of-a-relation . You can also take a look at explanation in Doctrine docs: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/association ...
... php-7-with-opcache-issues-in-doctrine so instead of running to the terminal the command that you write in readme file of the course "php composer.phar install" because it gives me many exceptions i run the command from ...
... and then... I was using MYSQL Workbench before, and I have a connection to to the localhost. There are 3 databases there and I just added anotherone using symfony's Doctrine. However, I can't see it with MYSQL Workbench ...
Ali Niaki
Ali Niaki
Read Full Comment
Hi folks - I seem to be falling at the first hurdle here. When I run php app/console doctrine:schema:create I get the following error: [Doctrine\Common\Annotations\AnnotationException] You have to enable ...
Sorry to spam :) but I think I've finally figured out what is going on and wanted to share the solution. Doctrine api clearly states that DateTime objects are compared by reference, and not value! To my understanding ...
Hey Hermen, Do you have any errors with it? Or you just curious about it? You can look over this article of Doctrine docs with a few simple examples: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest ...
Hi Ryan, I would like to know your views on mysql 'views' with regards to doctrine. So, I was doing a join without a foreign key constraint and try to map it back to an entity obj, it wasnt a pleasant experience. And ...
Hey Peter, Doctrine model, i.e. Genus entity in our case, or any other entity - can't query the database, it's an architectural pattern of Doctrine. To query the database - you need to use entity repository, so you can ...
... between products and categories. Many product can be found in many categories and the inverse. I followed the whole process to add a many to many relationship but when loading fixtures I encounter this error: [Doctrine\ORM ...
Connect James
Connect James
Read Full Comment
... () in your controller (don't use the serializer temporarily), can you verify that the extra query is NOT made? 2) On your join, do you have an addSelect like described here? http://knpuniversity.com/screencast/doctrine ...
weaverryan
weaverryan
Read Full Comment
I was thinking about the following --but maybe there are already tutorials about the topics, pls correct me--: - Doctrine: what does really happen behind the scenes? - OO: Symfony is service oriented, making entities ...
Eddy de Boer
Eddy de Boer
Read Full Comment
Hey Greg! Ah, it does! Well, sort of :). I was thinking about the problem incorrectly, but your gist cleared it up. Basically, when Doctrine tries to calculate what is different in your `genus_scientist` table between ...
weaverryan
weaverryan
Read Full Comment
... AcmeBlogBundle:Post. The Entity shortcut name: EventBundle:Event [Doctrine\DBAL\Exception\DriverException ...
Pete Garvin
Pete Garvin
Read Full Comment
Hey Terry! There's not a good way that I know of to do this :/. Your method is probably about the right approach. Btw, it does touch on something cool about Doctrine: when you clone the Genus object, the new Genus ...
weaverryan
weaverryan
Read Full Comment
... (repositoryClass="AppBundle\Repository\GenusRepository") * ... */ class Genus ``` We add this right after creating the repository class (https://knpuniversity.com/screencast/symfony-doctrine/custom-queries#creating-your-own ...
weaverryan
weaverryan
Read Full Comment
... " to look at the regex and it matches "Doctrine\DBAL\Schema\SchemaConfig", but not "?Doctrine\DBAL\Schema\SchemaConfig". - Pete ...
Peter Stephens
Peter Stephens
Read Full Comment
Yo Mike! Hmm, are you sure about the deprecation? It actually makes sense - changes like this have been made in the past - but I don't see it marked as deprecated in the code yet: https://github.com/doctrine/doctrine2 ...
weaverryan
weaverryan
Read Full Comment
... Yep, that's odd - your annotation looks totally correct to me. You can read the docs directly about the @ORM\Table here (and you'll see you're using it correctly): http://docs.doctrine-project.org/projects/doctrine-orm ...
weaverryan
weaverryan
Read Full Comment
... "Doctrine" tab on the profiler. On this page, you can see what the query looks like, to see if Doctrine is doing anything weird. It *should* simply be executing a query with *no* ORDER BY on it. If this is true, then it's ...
weaverryan
weaverryan
Read Full Comment
... actually happened :). A flow might be: A) You previously work on the Doctrine tutorial (with `vinyl_mix`) B) You boot up this project, but point it to the same database. C) Run `make:migration` Doctrine will ...
weaverryan
weaverryan
Read Full Comment