Top "Doctrine" questions

The Doctrine Project is a collection of open source libraries and tools for dealing with database abstraction and Object-Relational Mapping written in PHP.

Symfony2 Use Doctrine in Service Container

How do I use Doctrine in a service container? The Code just causes an error message "Fatal error: Call to …

doctrine symfony
Symfony2 doctrine clear cache

I need to clear my doctrine's cache in Symfony 2. There must be some way in command line for clear the …

php caching symfony doctrine
Generating a single Entity from existing database using symfony2 and doctrine

Is it possible to generate a single entity from database using the Symfony2 console tool? In the middle of coding …

php database symfony doctrine
Doctrine - A new entity was found through the relationship

since 2 weeks, we are having this problem while trying to flush new elements: CRITICAL: Doctrine\ORM\ORMInvalidArgumentException: A new entity …

symfony doctrine
Generating Entity Getters and Setters in Symfony / Doctrine ORM

I have the following ORM Symfony entity with only properties : <?php namespace Evr\HomeBundle\Entity; use Doctrine\ORM\Mapping …

symfony annotations doctrine getter-setter
Doctrine 2: Call to a member function format() on a non-object ... in DateTimeType.php

I have a DateTime field: /** * Date time posted * @Column(type="datetime") */ private $dtPosted; which is set to a default value …

php doctrine-orm doctrine
Symfony 2 SQLSTATE[HY000] [2002] Connection refused Error

I get an error like database operations using Symfony2. SQLSTATE[HY000] [2002] Connection refused parameters.yml parameters: database_driver: pdo_mysql …

symfony pdo doctrine dbal
Doctrine 2 can't use nullable=false in manyToOne relation?

An User has one Package associated with it. Many users can refer to the same package. User cannot exists without …

symfony doctrine doctrine-orm
symfony2 doctrine allow null values?

So, I'm still REALLY new to symfony but i'm learning quickly... I created an entity and a crud (i forget …

symfony doctrine
How to specify null value as filter in a Doctrine query?

I am using Doctrine 1.1 in Zend. I am trying to write a query that will return records that have a …

php null doctrine dql