Support for @Identity - with start, increment, cache

This commit is contained in:
rob bygrave
2020-03-04 16:59:42 +13:00
parent 9410f82f5a
commit 2ac19bea1a
41 changed files with 510 additions and 115 deletions
@@ -1,5 +1,6 @@
package org.tests.model.ddd;
import io.ebean.annotation.Identity;
import org.tests.model.ivo.Oid;
import org.tests.model.ivo.converter.AnEnumType;
@@ -8,6 +9,9 @@ import javax.persistence.Id;
import javax.persistence.Version;
import java.sql.Timestamp;
import static io.ebean.annotation.IdentityGenerated.BY_DEFAULT;
@Identity(generated = BY_DEFAULT)
@Entity
public class DExhEntity {