#282 - API: Add Model.Find as alternative to Model.Finder ... which uses reflection to determine entity bean type literal

This commit is contained in:
rbygrave committed 2015-05-01 21:03:38 +12:00
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;