tridem wrote > Hi Luke, > > that is my problem. I recently started with ZF2 and followed this > tutorial: > > http://www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/
You should not be following this tutorial for Doctrine integration. The ZF2 version that time was far away from current stable version. tridem wrote > Even the github at > > https://github.com/doctrine/DoctrineORMModule > > "only" states: > > "The module depends on <https://github.com/doctrine/orm> Doctrine > ORM > 2.3.*, <https://github.com/doctrine/dbal> Doctrine DBAL 2.3.*, > <https://github.com/doctrine/migrations> Doctrine Migrations. You > have to > download/install those packages and have them autoloaded." > > Sorry, but I couldn't find a hint where to put this autoloading. Is there > a > specific file in should put it in for global access, should it be added to > a > module only config or > > by setting an include path inside the virtual host or my index.php and > how? I'm not a fan of Doctrine personally but I recommend you to try looking here: https://github.com/doctrine/DoctrineModule <https://github.com/doctrine/DoctrineModule> and again here: https://github.com/doctrine/DoctrineORMModule <https://github.com/doctrine/DoctrineORMModule> and as Marco pointed out use Composer for installing those Modules. ----- Cheers, -- Luke Mierzwa -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656981.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
