public static enum SqlMergeMode.MergeMode extends Enum<SqlMergeMode.MergeMode>
@Sql
declarations are merged with class-level @Sql declarations.| Enum Constant and Description |
|---|
MERGE
Indicates that method-level
@Sql declarations should be merged
with class-level @Sql declarations, with class-level SQL
scripts and statements executed before method-level scripts and
statements. |
OVERRIDE
Indicates that method-level
@Sql declarations should override
class-level @Sql declarations. |
| Modifier and Type | Method and Description |
|---|---|
static SqlMergeMode.MergeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlMergeMode.MergeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlMergeMode.MergeMode MERGE
@Sql declarations should be merged
with class-level @Sql declarations, with class-level SQL
scripts and statements executed before method-level scripts and
statements.public static final SqlMergeMode.MergeMode OVERRIDE
@Sql declarations should override
class-level @Sql declarations.public static SqlMergeMode.MergeMode[] values()
for (SqlMergeMode.MergeMode c : SqlMergeMode.MergeMode.values()) System.out.println(c);
public static SqlMergeMode.MergeMode 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 null