public enum InsertStrategy extends Enum<InsertStrategy>
info.archinnov.achilles.type.InsertStrategy.ALL_FIELDSinfo.archinnov.achilles.type.InsertStrategy.NOT_NULL_FIELDSinfo.archinnov.achilles.type.InsertStrategy.ALL_FIELDS
@Table(table = "users")
@Strategy(insert = InsertStrategy.NOT_NULL_FIELDS)
public class UserEntity;
| Enum Constant and Description |
|---|
ALL_FIELDS |
NOT_NULL_FIELDS |
| Modifier and Type | Method and Description |
|---|---|
static InsertStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InsertStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InsertStrategy ALL_FIELDS
public static final InsertStrategy NOT_NULL_FIELDS
public static InsertStrategy[] values()
for (InsertStrategy c : InsertStrategy.values()) System.out.println(c);
public static InsertStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2021. All Rights Reserved.