DDC-522: Join columns can not be named the same as the association fields. #5031

doctrinebot opened this Issue Apr 15, 2010 · 3 comments

1 participant


Jira issue originally created by user romanb:

Join columns can currently not be named the same as the association fields in a class. This apparently causes Doctrine to insert the identifier of the associated object instead of the actual object (on hydration of the fetch-joined association at least).


     * @OneToOne(...)
     * @JoinColumn(name="item", referencedColumnName="id")
    private $item;

Comment created by romanb:



Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment