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.

ORM on Android SQLite and database scheme

I'm looking for a very simple ORM framework working on Android for SQLite. I've been testing ActiveAndroid but none of …

android sqlite orm many-to-many crud
how to verify if object exist in manytomany

Models class Beer(models.Model): pass class Salas(models.Model): name = models.CharField(max_length=20) beers = models.ManyToManyField('Beer', blank=…

django many-to-many
Get all table names in a Django app

How to get all table names in a Django app? I use the following code but it doesn't get the …

python django many-to-many
How to model a Many to many-relationship in code?

Suppose I have 2 tables in a database. eg: Dog & Boss This is a many to many relationship, cause a …

c# many-to-many modeling
jpa criteria for many to many relationship

I have 2 POJO classes in Java, Answer and Collaborator, in a many-to-many relationship. class Answer { @ManyToMany(cascade = CascadeType.ALL) @JoinTable(…

java hibernate many-to-many jpa-2.0 criteria
Removing many to many entity Framework

There is a many to many relationship between Artist and ArtistType. I can easily add artist ArtistType like below foreach (…

c# entity-framework many-to-many dbcontext
Symfony2 Doctrine2 Many To Many Form not Saving Entities

I am having some trouble with a many to many relationship. I have Users and Assets. I would like to …

forms symfony many-to-many doctrine-orm
@ManyToMany(mappedBy = "foo")

Foo has: @ManyToMany(mappedBy = "foos") private Set<Bar> bars and Bar has : @ManyToMany private Set<Foo> …

java jpa orm many-to-many
Django filter through multiple fields in a many-to-many intermediary table

I have the following models in my django project: class Video(models.Model): media = models.ForeignKey(Media) class Media(models.…

django many-to-many django-orm
Query builder ManyToMany relationship

I'm facing some troubles with query builder in many to many relationship. I have an entity Company which have subcompanies …

symfony doctrine many-to-many query-builder