mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Support for @Identity - with start, increment, cache
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user