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
@@ -7,7 +7,7 @@ import javax.persistence.*;
|
||||
@Entity
|
||||
public class InfoCustomer extends Model {
|
||||
|
||||
public static Finder<Long,InfoCustomer> find = new Finder<Long,InfoCustomer>(Long.class, InfoCustomer.class);
|
||||
public static Finder<Long,InfoCustomer> find = new Finder<Long,InfoCustomer>(InfoCustomer.class);
|
||||
|
||||
@Id
|
||||
Long id;
|
||||
|
||||
Reference in new issue
Block a user