Herman, Good news! :-)

I think I discovered something, I am getting that notice for
findBy(productId)
because I am using the same product_id field in the same entitty twice,
once I used it as OneToOne to Product entity where the product_id is
primary key there, and once as ManyToOne to another entity where product_id
is not primary key but a unique key.
Should this cause that notice? I noticed if I rename product_id in the
entity with notice problem to something else and apply the change to
ManyToOne too, notice problem disapears. I guess actually doctrine was
confused by using product_id twice in two mappings (OneToOne and ManyToOne)
in the same entity? Is it a problem? How to solve it? If this should not be
a problem for doctrine please let me know that I investigate further. I
need that you confirm if I am correct that should be a problem for doctrine
or not before more investigation.

Thanks again for all kind helps.

-- 
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/d/optout.

Reply via email to