java - trouble with ebeans in play framework -
hi dudes new play framework , hate tutorials in google missing every time have problem following code body me please.
public static model.finder<long, blog> find = new model.finder<long, blog>(long.class, blog.class); public static list<blog> getallblogs(){ list<blog> menus = new arraylist<blog>(); menus = ebean.find(blog.class).findlist(); return menus; }
what issue .class @ end of long , blog because in <> have why must explicitly type again? problem ebeans or thing else don't understand exactly
Comments
Post a Comment