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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -