Bruno_
03/28/2020, 3:21 PM@Entity
-ies) with the help of the room docs. The thing is that in one-to-many
scenario the parent knows nothing about the children plus every child has only an ID of the parent.
However I absolutely have to have an Ad
as well as the list of application results (not just ids, whole objects) in AdEntry
. Is it possible to do so in Room?@Entity
model
classess (diagram) from the actual @Entity
-ies and just convert stuff on the go, but I would have to make a couple of additional database calls so this approach isn't very scalable@Embedded
as I need these things to be in separate tables@Relation
in case of AdEntry -- ApplicationResult
relation, still don't know what about the AdEntry -- Ad
Ad
to be embedded but in a separate tablejean pokou
03/29/2020, 7:46 PM