[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


 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?



 Comments   
Comment by Lukas Kahwe [ 23/Aug/13 ]

it seems like the behavior is consistent with the ORM

Generated at Sat Oct 25 04:15:15 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.