I think this is quite a stupid question, but do you test your Models if you already use a ORM framework. I was at it when I realized there isn\'t much to test? I mainly will just use the models for va
How can I setup autoloading such that I can have my directory structure like /application /models<<--- plural
I have an entity which defines inheritance like this: * @DiscriminatorColumn(name=\"type\", type=\"string\")
I\'ve got two tables and a join table: \'staff\', \'classification\' and \'staff_classification\'. In the join table I\'ve got an extra boole开发者_StackOverflow中文版an field: \'showclassification\'.
I have only started discovering Doctrine and noticed the official documentation points to 1.2 as this seems to be the current stable version.
I use Zend Framework with modules for my appli开发者_运维百科cations and I am interested in integrating Doctrine 2 in the same fashion:
In doctrine1 it was possible to gen开发者_如何学编程erate-models-db. How to do that in doctrine2 from cli?I end up implementing new command https://github.com/umpirsky/doctrine2/blob/master/lib/Doctri
I am currently trying to integrate the ORM Doctrine 2 with Zend Framework. I try to use the XMLDriver.
How should I name a Doctrine 2 Model table row variable (e.g. url-name is the table row name) and I tried it with that:
First of all I want to say big thanks to Doctrine developers, guys you are rock! My problem is the following: