[DDC-918] Remove UnitOfWork->flush() in Query->doExecute() Created: 08/Dec/10 Updated: 10/Dec/10 Resolved: 10/Dec/10 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0-RC2 |
| Security Level: | All |
| Type: | Improvement | Priority: | Critical |
| Reporter: | Benjamin Eberlei | Assignee: | Benjamin Eberlei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
We should remove UnitOfWork->flush() inside the Query class and document clearly the adverse effects that can happen. Its much better peformance wise this way around and people shouldn't get into trouble. |
| Comments |
| Comment by Benjamin Eberlei [ 10/Dec/10 ] |
|
Changed and noted in the new ReST branch of the docs that will go live before release. |