#399 - ENH: Add new Finder ... to effectively replace Model.Finder

This commit is contained in:
Robin Bygrave
2015-08-28 20:32:40 +12:00
parent 379cc39e38
commit fca80ac649
4 changed files with 98 additions and 21 deletions
@@ -5,6 +5,7 @@ import com.avaje.ebean.annotation.ChangeLogInsertMode;
import com.avaje.ebean.annotation.EnumValue;
import com.avaje.ebean.annotation.JsonIgnore;
import com.avaje.ebean.annotation.Where;
import com.avaje.tests.model.basic.finder.CustomerFinder;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
@@ -29,6 +30,8 @@ public class Customer extends BasicDomain {
private static final long serialVersionUID = 1L;
public static final CustomerFinder find = new CustomerFinder();
/**
* EnumValue is an Ebean specific mapping for enums.
*/