emilsjolander / sprinkles

Sprinkles is a boiler-plate-reduction-library for dealing with databases in android applications
Apache License 2.0
772 stars 84 forks source link

Support LazyLoad ? #77

Closed lsjwzh closed 10 years ago

lsjwzh commented 10 years ago

sprinkles looks nice. I really eager to switch to sprinkles. But i need two feature : LazyLoad,Entity Cache.

Are there any way to support LazyLoad like this ?:

public class Parent{ private int id; @OneToMany(manyColumn = "parentId") private OneToManyLazyLoader<Parent ,Child> children; /..../ } public class Child{ private int id; private String text; @ManyToOne(column = "parentId") private Parent parent; /..../ }