linuxatico
linuxatico

Reputation: 1896

Doctrine2 & Symfony2 single form insert in multiple tables

I have a Symfony2's form with two fields: "A" and "B". I want to store them using Doctrine2 in two different tables.

I've already seen Doctrine - insert multiple rows with just one save() but it's not my case.

How can I do it?

Upvotes: 2

Views: 4023

Answers (1)

linuxatico
linuxatico

Reputation: 1896

Solved embedding a B field in A. Watch here

Upvotes: 5

Related Questions