public enum JpaMethod extends Enum<JpaMethod>
| Enum Constant and Description |
|---|
CREATE_NAMED_QUERY
CREATE_NAMED_QUERY.
|
CREATE_NAMED_STORED_PROCEDURE_QUERY
CREATE_NAMED_STORED_PROCEDURE_QUERY.
|
CREATE_NATIVE_QUERY
CREATE_NATIVE_QUERY.
|
CREATE_QUERY
CREATE_QUERY.
|
CREATE_STORED_PROCEDURE_QUERY
CREATE_STORED_PROCEDURE_QUERY.
|
DETACH
DETACH.
|
FIND
FIND.
|
FLUSH
FLUSH.
|
LOCK
LOCK.
|
MERGE
MERGE.
|
OTHER
The OTHER enum value is for future compatibility: do not fail even if we don't know the exact method signature...
|
PERSIST
PERSIST.
|
REFRESH
REFRESH.
|
REMOVE
REMOVE.
|
| Modifier and Type | Method and Description |
|---|---|
static JpaMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JpaMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JpaMethod OTHER
public static final JpaMethod CREATE_QUERY
public static final JpaMethod CREATE_NAMED_QUERY
public static final JpaMethod CREATE_NATIVE_QUERY
public static final JpaMethod CREATE_STORED_PROCEDURE_QUERY
public static final JpaMethod CREATE_NAMED_STORED_PROCEDURE_QUERY
public static final JpaMethod FIND
public static final JpaMethod MERGE
public static final JpaMethod PERSIST
public static final JpaMethod REFRESH
public static final JpaMethod REMOVE
public static final JpaMethod DETACH
public static final JpaMethod LOCK
public static final JpaMethod FLUSH
public static JpaMethod[] values()
for (JpaMethod c : JpaMethod.values()) System.out.println(c);
public static JpaMethod 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 © 2008–2017 Emeric Vernat. All rights reserved.