Top "One-to-many" questions

one-to-many is relationship between two different object properties.

One-To-Many relationship in ORMLite Android

How do I implement one-many relationship in ORMLite Android? please find the example public class A { private String name; @DatabaseField (…

java android one-to-many ormlite
Doctrine OneToMany relationship error

I am trying to set up some ManyToOne/OneToMany relationships on objects in my database using Doctrine (2.2.3+) via Symfony2 (2.3.0) and …

symfony doctrine-orm one-to-many many-to-one
Golang Gorm one-to-many with has-one

I'm trying to learn Go and Gorm by building a little prototype order management app. The database is MySQL. With …

go one-to-many one-to-one go-gorm
How to serialize a one to many relation in django-rest using Model serializer?

These are my models and serializers. I want a representation of Question Model along with a list of people the …

python serialization django-rest-framework one-to-many django-serializer
Constraint violation in Hibernate unidirectional OneToMany mapping with JoinTable and OrderColumn when removing elements

I have a problem when removing elements from a list mapped as described above. Here is the mapping: @Entity @Table( …

java hibernate jpa jpa-2.0 one-to-many
Django One-To-Many Models

The following models describe a vulnerability and the URLs out on the internet that reference that vulnerability. Assume that each …

python django model one-to-many
CoreData - one-to-many modeled relationship comes out as one-to-one

I am new to Core Data modeling, and I am having a hard time understanding how one-to-many relationships work. I …

objective-c ios core-data one-to-many
Null foreign key, in ManyToOne relation using hibernate [4.1.1] annotations

I am trying to persist a one-to-many and a many-to-one relation using Hibernate 4.1.1 but the foreign key is always NULL. …

java hibernate foreign-keys one-to-many many-to-one
Android: SQLite one-to-many design

Anyone has good advise on how to implement one-to-many mapping for SQLite using ContentProvider? If you look at Uri ContentProvider#…

android sqlite one-to-many
best way to extract a one to many relationship with dapper dot net orm?

I have two classes 'Product' and 'Seller'. public class Product { public int Id { get; set; } public string Name { get; set; } …

c# orm one-to-many dapper