How do I implement one-many relationship in ORMLite Android?
please find the example
public class A { private String name; @DatabaseField (foreign =
You have to override the DAO of the B class, so when an object B is created or updated, the objects in the collection to be also updated.
Take a look at this question: Collections in ORMLite.