doctrine-orm
How can I specify the setter name with the entites who's generated with Doctrine2 in Symfony2?
I have an event entity and a user entity with an unidirectionnal many to many relation between them. When, I created the event entity with the generator (doctrine:generate:entites) the getteur called[详细]
2023-04-03 04:13 分类:问答Getting started with Doctrine 2 and CodeIgniter
I\'ve been reading about Doctrine for a while now and it surely looks interesting. I have read through most of the tutorials on phpandstuff.c开发者_如何学JAVAom, but I realise they\'re way outdated a[详细]
2023-04-03 03:51 分类:问答Symfony2: File Upload via Doctrine does not fire the PrePersist/PreUpdate lifecycle-event
i tried to implement the file upload via doctrine/lifecycle callbacks as described here: http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html#using-lifecycle-callbacks[详细]
2023-04-02 19:05 分类:问答Problem saving from inversed side of many-to-many relationship
I have two entities: AudioPlaylist and AudioTrack. AudioPlaylist.php: /** * @ORM\\ManyToMany(targetEntity = \"AudioTrack\", inversedBy = \"audioPlaylists\")[详细]
2023-04-02 18:43 分类:问答Doctrine2 how to see a generated createQuery SQL Text (symfony2)
I would like to get the \'real\' SQL Query doctrine is passing to the SQL Server: <?php $em = $this->getDoctrine()->getEntityManager();[详细]
2023-04-02 18:10 分类:问答doctrine mongodb odm map reduce
Is it po开发者_开发问答ssible after a Map/Reduce with Doctrine to get a collection of entities ?[详细]
2023-04-02 16:08 分类:问答Doctrine2: association mapping for a table with multiple foreign keys
A friend of mine and me are working on a mult开发者_开发知识库ilingual web-application for storing recipes. We use Doctrine 2.1.1 for persistence. At the moment I stuck generating models for an entity[详细]
2023-04-02 14:21 分类:问答Doctrine ODM / PHP / MongoDB - Can't query Referenced Elements
I have an Event, that has a Privilege and this Privilege references a User. I\'m trying to get all the events associated with a User, but I can\'t seem to get doctrine working as I\'d like.[详细]
2023-04-02 14:20 分类:问答Doctrine 2 LifecycleCallbacks with abstract base class are not called
I have this situation: Abstract Class: abstract class AbstractBase { /** * @ORM\\Id * @ORM\\GeneratedValue * @ORM\\Column(type=\"integer\")[详细]
2023-04-02 14:12 分类:问答Is there a way to enforce a unique column using doctrine2?
I know I can always set a unique DB key using MYSQL schema however was just curious if ORM\'s like doctrine allowed you to set a column to be unique in code?[详细]
2023-04-02 11:14 分类:问答
加载中,请稍侯......