Symfony 2 join not working doctrine

前端 未结 1 479
伪装坚强ぢ
伪装坚强ぢ 2021-01-28 16:25

I have 2 entities with a OnrtoMany relationship, Vehicle that has many Jobs. I am trying to create this function at the VehicleRepository:

public function findB         


        
相关标签:
1条回答
  • 2021-01-28 17:03

    javad is correct $Vehicles mapping is pointing to non-existant variable or array collection. On your other related question with these same entities you posted the Fuel Purchase entity that may have had a curiously similar error in the inversedBy mapping.

    0 讨论(0)
提交回复
热议问题