Top Description Constructors Methods
org.hibernate.boot.jaxb.hbm.internal

public Class FlushModeConverter

extends Object
Class Inheritance
Imports
java.util.Locale, org.hibernate.FlushMode, .HibernateException

JAXB marshalling for the FlushMode enum.

Implementation Note

The XML schemas define the use of "never", which corresponds to the removed FlushMode#NEVER. Here we will also remap FlushMode#NEVER to FlushMode#MANUAL.

Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static FlushMode
public static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FlushModeConverterback to summary
public FlushModeConverter()

Method Detail

fromXmlback to summary
public static FlushMode fromXml(String name)
toXmlback to summary
public static String toXml(FlushMode mode)