DDC-3453: [GH-1223] Refactored construction of the EntityManager out to an EntityManagerFactory #4258

Closed
opened 2026-01-22 14:38:25 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 17, 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 guiwoda:

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

Message:

Added tests for the factory (needed to refactor the OrmTestCase so I could reuse mock config and mock connections).

This pattern is well established in Hibernate, I've been wondering why we don't have it in Doctrine.

Originally created by @doctrinebot on GitHub (Dec 17, 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 guiwoda: Url: https://github.com/doctrine/doctrine2/pull/1223 Message: Added tests for the factory (needed to refactor the OrmTestCase so I could reuse mock config and mock connections). This pattern is well established in Hibernate, I've been wondering why we don't have it in Doctrine.
admin added the Improvement label 2026-01-22 14:38:25 +01:00
admin closed this issue 2026-01-22 14:38:25 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 17, 2014):

@doctrinebot commented on GitHub (Dec 17, 2014): - relates to [DDC-3515: [GH-1263] #1223 DDC-3453 - make `EntityManager` constructor `public`](http://www.doctrine-project.org/jira/browse/DDC-3515)
Author
Owner

@doctrinebot commented on GitHub (Jan 18, 2015):

Comment created by @doctrinebot:

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

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

@doctrinebot commented on GitHub (Jan 18, 2015):

Comment created by @doctrinebot:

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

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

@doctrinebot commented on GitHub (Jan 18, 2015):

Issue was closed with resolution "Won't Fix"

@doctrinebot commented on GitHub (Jan 18, 2015): Issue was closed with resolution "Won't Fix"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4258