Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法保存树形结构数据 #66

Open
QYZX opened this issue Jun 19, 2017 · 0 comments
Open

无法保存树形结构数据 #66

QYZX opened this issue Jun 19, 2017 · 0 comments

Comments

@QYZX
Copy link

QYZX commented Jun 19, 2017

@table("tb_people")
public class People {

@PrimaryKey(AssignType.AUTO_INCREMENT)
private long id;     //ID
@Mapping(Relation.OneToMany)
private ArrayList<People> child;

}

例如上面的类型,进行级联保存后查询DB文件,保存关系映射的表只有一个字段:ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant