Closed lsjwzh closed 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; /..../ }
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; /..../ }