Lazy-loading properties not loading in Doctrine 2.0

后端 未结 2 1119
感动是毒
感动是毒 2021-01-14 22:50

I\'m using PHP and Doctrine 2.0. All entities work fine, with the exception of the entity-relation detailed below (or other entities are failing where I\'m not noticing it).

2条回答
  •  Happy的楠姐
    2021-01-14 23:32

    It looks like internal d2 bug. Or you use reflection to retrieve properties of your object. Proxy classes use persister to initialize them on any method call. Does it issue a query when you use getter on this proxy?

提交回复
热议问题