I've looked around and this question doctrine2 OneToMany relationship inserts NULL as the foreign key is similar to this one but without an answer that works for me.
Build in Zend Framework 1.6 using Doctrine 2 and name spaces for classes, Doctrine has build the schema using it's migration tool.
My codes below: