[PHPCR-61] review how the ORM and other ODM's initialize collection properties Created: 04/Apr/12 Updated: 18/Apr/13 |
|
| Status: | Open |
| Project: | Doctrine PHPCR |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Blocker |
| Reporter: | Lukas Kahwe | Assignee: | Lukas Kahwe |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
right now when we for example have a @ReferenceMany but nothing is assigned, then when we read said object from the database that property is set to null. should it rather be initialized as an empty collection? |