when I do ->getArrayResult I get the expected result so I believe I
did set mappings correctly but if using ->getResult for DQL (this is
DQL and NOT Native) I get the error below. what wrong I am doing? or
->getResult is only for Native? what are differences of them?

NOTICE:
Undefined index: id in
/home2/edited/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php
on line 2603
NOTICE:
Undefined index: productId in
/home2/edited/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
on line 121
NOTICE:
Undefined index: productId in
/home2/edited/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php
on line 2692
NOTICE:
Undefined index: in
/home2/edited/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php
on line 2693
Fatal error: Call to a member function setValue() on a non-object in
/home2/edited/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php
on line 2693

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to