问答详情
源自:9-5 如何定义Entity和Entity之间的关系

entity OneToOne错误

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了


提问者:陌上花开444855 2015-08-24 17:46

个回答

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

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