I don't think this is a duplicate thread? In the other i asked about group
by, here i am asking the difference of getArrayResult and getResult as for
the second i get error.
 در 2014 2 14 07:48، "Herman Peeren" <[email protected]> نوشت:

> This is the third thread about the same misunderstanding of mapping and
> querying entities in a One/Many relationship.
> Please
>
>    - in some future put together what belongs together, when posting
>    something after working longer on it yourself
>    - do some more tests to experiment; preferably until you understand
>    what you are doing. Don't post every intermediary "result". This is a
>    mailinglist, not a debugger.
>    - It is no use to just post some error messages out of context.
>
>
> On Thursday, 13 February 2014 22:21:19 UTC+1, Parsifal wrote:
>>
>> 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.
>

-- 
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