I'm using symfony 3.0 and doctrine orm 2.5, but I have some dificulties when relation product and product attributes.
Suppose that I have the database tables named ad product, product_attribute and attribute.
Firstly, each product can has many product_attributes.
The table product_attribute can be relation with many products, but has a unique attribute and value for each product_id.
The attribute table is really agnostic, and doesn`t know the existence of product and product_attribute, but the product_attribute should be a existent attribute_id on relation.
How can I make these? I tried to make a relationship between product and attributes using the pivot table "product_attribute", but this not persist the value of attribute...
