DDC-3231: [GH-1089] Entity repository generator default repository #4000

Closed
opened 2026-01-22 14:33:29 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 27, 2014).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of encoder32:

Url: https://github.com/doctrine/doctrine2/pull/1089

Message:

  1. I set default repository class in configuration to MyApp\Doctrine\DefaultRepository
  2. I created entity class MyApp\Entity\TestEntity and generated repository class for it
  3. Actually the repository class "MyApp\Entity\TestEntityRepository" turned out to be a descendant of "Doctrine\ORM\EntityRepository" when I expected "MyApp\Doctrine\DefaultRepository" as default.

Related pull request https://github.com/doctrine/DoctrineBundle/pull/315

Originally created by @doctrinebot on GitHub (Jul 27, 2014). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of encoder32: Url: https://github.com/doctrine/doctrine2/pull/1089 Message: 1) I set default repository class in configuration to MyApp\Doctrine\DefaultRepository 2) I created entity class MyApp\Entity\TestEntity and generated repository class for it 3) Actually the repository class "MyApp\Entity\TestEntityRepository" turned out to be a descendant of "Doctrine\ORM\EntityRepository" when I expected "MyApp\Doctrine\DefaultRepository" as default. Related pull request https://github.com/doctrine/DoctrineBundle/pull/315
admin added the New Feature label 2026-01-22 14:33:29 +01:00
admin closed this issue 2026-01-22 14:33:30 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 11, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1089] was assigned:
https://github.com/doctrine/doctrine2/pull/1089

@doctrinebot commented on GitHub (Nov 11, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-1089] was assigned: https://github.com/doctrine/doctrine2/pull/1089
Author
Owner

@doctrinebot commented on GitHub (Nov 11, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1089] was closed:
https://github.com/doctrine/doctrine2/pull/1089

@doctrinebot commented on GitHub (Nov 11, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-1089] was closed: https://github.com/doctrine/doctrine2/pull/1089
Author
Owner

@doctrinebot commented on GitHub (Nov 11, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Nov 11, 2014): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4000