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?Bruno_
03/28/2020, 3:23 PM@EntityBruno_
03/28/2020, 3:25 PMmodel 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 scalableBruno_
03/28/2020, 3:27 PMBruno_
03/28/2020, 3:30 PM@Embedded as I need these things to be in separate tablesBruno_
03/28/2020, 3:40 PM@Relation in case of AdEntry -- ApplicationResult relation, still don't know what about the AdEntry -- AdBruno_
03/28/2020, 3:53 PMAd to be embedded but in a separate tablejean pokou
03/29/2020, 7:46 PMjean pokou
03/29/2020, 7:52 PM