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") public class Subject implements Serializable { @DatabaseField(columnName = "_id") private int id; @DatabaseField private String text; @DatabaseField(columnName = "parent", foreign = true) private Subject parent; @ForeignCollectionField private List<Subject> sons; this code throws an error 9950-9950/ec.com.smx.flux E/EC