public static enum JPQLStatementResolutionContext.AliasMode extends Enum<JPQLStatementResolutionContext.AliasMode>
| Enum Constant and Description |
|---|
AUTO
Use the explicitly provided alias if available, generate an alias name otherwise
|
DEFAULT
Default behaviour: use an alias only if explicitly provided
|
UNSUPPORTED
Never use an alias name, even if explicitly provided
|
| Modifier and Type | Method and Description |
|---|---|
static JPQLStatementResolutionContext.AliasMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPQLStatementResolutionContext.AliasMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JPQLStatementResolutionContext.AliasMode DEFAULT
public static final JPQLStatementResolutionContext.AliasMode AUTO
public static final JPQLStatementResolutionContext.AliasMode UNSUPPORTED
public static JPQLStatementResolutionContext.AliasMode[] values()
for (JPQLStatementResolutionContext.AliasMode c : JPQLStatementResolutionContext.AliasMode.values()) System.out.println(c);
public static JPQLStatementResolutionContext.AliasMode 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 © 2019 The Holon Platform. All rights reserved.