mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-28 23:28:55 +00:00
#282 - API: Add Model.Find as alternative to Model.Finder ... which uses reflection to determine entity bean type literal
This commit is contained in:
1 parent
e669a86135
commit
819edb20e8
6 files changed
+238
-54
No files matched your search
@@ -9,7 +9,7 @@ import java.util.List;
|
||||
@Entity
|
||||
public class InfoCompany extends Model {
|
||||
|
||||
public static Finder<Long,InfoCompany> find = new Finder<Long,InfoCompany>(Long.class, InfoCompany.class);
|
||||
public static Finder<Long,InfoCompany> find = new Finder<Long,InfoCompany>(InfoCompany.class);
|
||||
|
||||
@Id
|
||||
Long id;
|
||||
|
||||
Reference in new issue
Block a user