[PHPCR-61] review how the ORM and other ODM's initialize collection properties Created: 04/Apr/12  Updated: 23/Aug/13  Resolved: 23/Aug/13

Status: Resolved
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: Invalid Votes: 0
Labels: None


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?

Comment by Lukas Kahwe [ 23/Aug/13 ]

it seems like the behavior is consistent with the ORM

Generated at Sun Oct 04 19:57:53 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.