entity OneToOne错误

来源:9-5 如何定义Entity和Entity之间的关系

陌上花开444855

2015-08-24 17:46

An exception occurred while executing 'SELECT t0.id AS id_1, t0.email AS email_2, t0.password AS password_3, t0.age AS age_4, t5.id AS id_6, t5.mobile_number AS mobile_number_7, t5.user_id AS user_id_8 FROM user t0 LEFT JOIN Profile t5 ON t5.user_id = t9.id WHERE t0.id = ?' with params [1]: 为什么前面user t0到这里t5.user_id = t9.id 变成t9了


写回答 关注

1回答

  • williamcarry3384939
    2016-05-19 15:32:58

    这个是smyfony自动生成的语句,你看这种东西看不错什么错的

洪大师带你解读Symfony 2框架

洪大师教你玩转强大的框架-Symfony2,提高代码性能

20604 学习 · 245 问题

查看课程

相似问题