Top Description Fields Constructors Methods
org.hibernate.query

public final Enum ImmutableEntityUpdateQueryHandlingMode

extends Enum<ImmutableEntityUpdateQueryHandlingMode>
Class Inheritance
Imports
org.hibernate.HibernateException

This enum defines how org.hibernate.annotations.Immutable entities are handled when executing a bulk update statement.
Author
Vlad Mihalcea
See Also
org.hibernate.cfg.AvailableSettings#IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE

Field Summary

Modifier and TypeField and Description
public static final ImmutableEntityUpdateQueryHandlingMode
public static final ImmutableEntityUpdateQueryHandlingMode

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ImmutableEntityUpdateQueryHandlingMode

Returns:

associated ImmutableEntityUpdateQueryHandlingMode object
interpret
(Object
configured ImmutableEntityUpdateQueryHandlingMode representation
mode
)

Interpret the configured ImmutableEntityUpdateQueryHandlingMode value.

public static ImmutableEntityUpdateQueryHandlingMode
public static ImmutableEntityUpdateQueryHandlingMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXCEPTIONback to summary
public static final ImmutableEntityUpdateQueryHandlingMode EXCEPTION
WARNINGback to summary
public static final ImmutableEntityUpdateQueryHandlingMode WARNING

Constructor Detail

ImmutableEntityUpdateQueryHandlingModeback to summary
private ImmutableEntityUpdateQueryHandlingMode()

Method Detail

interpretback to summary
public static ImmutableEntityUpdateQueryHandlingMode interpret(Object mode)

Interpret the configured ImmutableEntityUpdateQueryHandlingMode value. Valid values are either a ImmutableEntityUpdateQueryHandlingMode object or its string representation. For string values, the matching is case-insensitive, so you can use either warning or exception.

Parameters
mode:Object

configured ImmutableEntityUpdateQueryHandlingMode representation

Returns:ImmutableEntityUpdateQueryHandlingMode

associated ImmutableEntityUpdateQueryHandlingMode object

valueOfback to summary
public static ImmutableEntityUpdateQueryHandlingMode valueOf(String name)
valuesback to summary
public static ImmutableEntityUpdateQueryHandlingMode[] values()