This issue seems to apply to version 5.1 as well. In our case we have field access for all properties except the identifier due to not trigger a lazy load when just calling getIdentifier(). If you have a look at line 1445 of CollectionBinder in version 5.1 you'll notice that the access type is being guessed based on the identifier's access type, which in our case happens to be "property" (and which is the only field to have that access type). There's also a comment "FIXME support @Access for collection of elements" which indicates a solution for the problem. |