Enum Class DmlTargetColumnQualifierSupport
java.lang.Object
java.lang.Enum<DmlTargetColumnQualifierSupport>
org.hibernate.dialect.sql.ast.spi.DmlTargetColumnQualifierSupport
- All Implemented Interfaces:
Serializable, Comparable<DmlTargetColumnQualifierSupport>, Constable
@SPI({USE,SUPPLY})
public enum DmlTargetColumnQualifierSupport
extends Enum<DmlTargetColumnQualifierSupport>
The qualifier form a database accepts for references to target columns in update and delete statements.
A Dialect supplies this value through
Dialect.getDmlTargetColumnQualifierSupport(). The
translator uses it for native statement rendering; providers should report
the least permissive form required by the database.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRender the target column without a qualifier.Qualify the column using the table alias when available, falling back to the table expression.Qualify the column using the table expression, ignoring a possible table alias. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DmlTargetColumnQualifierSupport[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TABLE_EXPRESSION
Qualify the column using the table expression, ignoring a possible table alias. -
TABLE_ALIAS
Qualify the column using the table alias when available, falling back to the table expression. -
NONE
Render the target column without a qualifier.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-