Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-BETA1
-
Fix Version/s: 2.0-BETA4
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
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).
Example:
/**
* @OneToOne(...)
* @JoinColumn(name="item", referencedColumnName="id")
*/
private $item;
Fixed.