Ormlite One-to-many Recursive Relationship
Hello i am facing a problem: I need to store a tree representation of subjects. I mean a SUBJECT have a list of childrens of type SUBJECT @DatabaseTable(tableName = 'subject') pub
Solution 1:
Try changing the sons type to type of ForeignCollection
@ForeignCollectionField
private ForeignCollection<Subject> sons;
Post a Comment for "Ormlite One-to-many Recursive Relationship"