Configure cascade persist in webMediaId ManyToOne(...,
cascade={"persist"})