Top "Many-to-many" questions

A type of relationship between entities of types A and B which associates a list of entities of type B to an entity of type A and vice versa.

Proper way to update bidirectional Many to Many relationship symfony2-doctrine

I did some research, and after reading this and this (and all the related questions) I still can't figure which …

php symfony doctrine-orm many-to-many bidirectional
Can a junction table (join table) also be used for a one-to-many relationship?

According to the definition, a Junction Table (bridge table/link table) is used for many-to-many relationships, when used like this: …

many-to-many database one-to-many junction-table
One INSERT with multiple SELECT

I've already read this, this and this, but I cant make this SQL work: INSERT INTO main_phrase (description) VALUES (…

postgresql many-to-many sql-insert common-table-expression sql-returning
many to many relation does't be unique when I use intermediate model.

I use intermediate model for "ManyToManyField using the through" Normally,If I don't use intermediate field, the m2m relation …

django many-to-many tastypie relation
Many to many in mongodb using spring configuration(annotation preffered)

I'm modeling a schema. As I'm new to Mongo DB I've no idea on how to model a nosql db. …

java many-to-many spring-data-mongodb
java.lang.IllegalStateException: During synchronization a new object was found through a relationship that was not marked cascade PERSIST

I have two 2 classes in relation many to many. @Entity @Table(name = "recipies") public class Recipie implements Serializable { @Id @GeneratedValue(…

jpa many-to-many cascade illegalstateexception persist