doctrine-orm
doctrine-orm copied to clipboard
:fire: Well-integrated Doctrine ORM for Nette Framework
refactor of PR: https://github.com/nettrine/orm/pull/17 Closes #36
In docs, there is a statement:  But there is no mention about that `orm:generate-proxies` has to be run on production otherwise the application will fail. Mine fail when fixtures...
Hello, I know that using EntityManagerDecorator is recommended by Doctrine authors, but according to this issue https://github.com/doctrine/orm/issues/5820 and my own experience, it's not ready to be heavily used yet. Does...
Cannot set own cache configuration factory as service like this: `nettrine.orm.cache:` ` secondLevelCache: @redisCacheConfigurationFactory::create(%tempDir%)` `services:` `redisCacheConfigurationFactory: Eshop\Core\Cache\RedisCacheConfigurationFactory(%redis.host%, %redis.port%)` I have to create next service so working result is `services: redisCacheConfigurationFactory:...
There was a BC-break introduced in doctrine/orm 2.8.2 - AbstractCommand requires EntityManager: https://github.com/doctrine/orm/issues/8488. When running db-related commands, following error is thrown: ``` ErrorException: assert(): assert($em instanceof EntityManager) failed in vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php:56...
I fought with exception `Missing Reader service` from `\Nettrine\ORM\DI\OrmAnnotationsExtension::loadConfiguration()` - I discovered that the order in which the extensions are registered matters and that it makes sense to register Nettrine\Annotations\DI\AnnotationsExtension...
There are sometimes use-cases when we don't want to use mapping on Entity class in relations, but rather interface (possibly for decoupling reasons). That is why Doctrine supports `ResolveTargetEntityListener` (documentation...
Hi, Is possible to create multiple connections? I try configuration like this https://help.kdyby.org/question/?questionId=93, but it is not working. Thank you for your help.