Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.hbm.transform

public final Enum UnsupportedFeatureHandling

extends Enum<UnsupportedFeatureHandling>
Class Inheritance
Imports
java.util.function.Function

How to handle features in the transformed `hbm.xml` which are not supported in the `mapping.xml` XSD
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final UnsupportedFeatureHandling
ERROR

Throw an exception.

public static final UnsupportedFeatureHandling
IGNORE

Simply ignore the feature.

public static final UnsupportedFeatureHandling
PICK

Pick the closest mapping, if possible.

public static final UnsupportedFeatureHandling
WARN

Similar to IGNORE except that we log a warning

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static UnsupportedFeatureHandling
public static UnsupportedFeatureHandling
public static UnsupportedFeatureHandling
public static UnsupportedFeatureHandling
public static UnsupportedFeatureHandling[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ERRORback to summary
public static final UnsupportedFeatureHandling ERROR

Throw an exception.

IGNOREback to summary
public static final UnsupportedFeatureHandling IGNORE

Simply ignore the feature. Logs a debug message

PICKback to summary
public static final UnsupportedFeatureHandling PICK

Pick the closest mapping, if possible. Falls back to IGNORE if there is no close match

WARNback to summary
public static final UnsupportedFeatureHandling WARN

Similar to IGNORE except that we log a warning

Constructor Detail

UnsupportedFeatureHandlingback to summary
private UnsupportedFeatureHandling()

Method Detail

fromSettingback to summary
public static UnsupportedFeatureHandling fromSetting(Object value)
fromSettingback to summary
public static UnsupportedFeatureHandling fromSetting(Object value, UnsupportedFeatureHandling defaultValue)
fromSettingback to summary
public static UnsupportedFeatureHandling fromSetting(Object value, Function<Object, UnsupportedFeatureHandling> defaultValueSupplier)
valueOfback to summary
public static UnsupportedFeatureHandling valueOf(String name)
valuesback to summary
public static UnsupportedFeatureHandling[] values()