doctrine-orm icon indicating copy to clipboard operation
doctrine-orm copied to clipboard

:fire: Well-integrated Doctrine ORM for Nette Framework

Results 13 doctrine-orm issues
Sort by recently updated
recently updated
newest added

refactor of PR: https://github.com/nettrine/orm/pull/17 Closes #36

In docs, there is a statement: ![image](https://user-images.githubusercontent.com/9862581/170508188-5df02e7f-7e66-43fc-9901-a09529c2417a.png) 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:...

feature

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...

feature

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.