Package io.jmix.eclipselink.impl
Class UuidConverter
java.lang.Object
io.jmix.eclipselink.impl.UuidConverter
- All Implemented Interfaces:
Serializable
,org.eclipse.persistence.core.mappings.converters.CoreConverter<org.eclipse.persistence.mappings.DatabaseMapping,
,org.eclipse.persistence.sessions.Session> org.eclipse.persistence.mappings.converters.Converter
public class UuidConverter
extends Object
implements org.eclipse.persistence.mappings.converters.Converter
CAUTION: Consider using converters obtained through
UuidMappingInfo
.
This class is used as a fallback if the database platform doesn't implement UuidMappingInfo
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertDataValueToObjectValue
(Object dataValue, org.eclipse.persistence.sessions.Session session) convertObjectValueToDataValue
(Object objectValue, org.eclipse.persistence.sessions.Session session) static UuidConverter
void
initialize
(org.eclipse.persistence.mappings.DatabaseMapping mapping, org.eclipse.persistence.sessions.Session session) boolean
-
Constructor Details
-
UuidConverter
public UuidConverter()
-
-
Method Details
-
getInstance
-
convertObjectValueToDataValue
public Object convertObjectValueToDataValue(Object objectValue, org.eclipse.persistence.sessions.Session session) - Specified by:
convertObjectValueToDataValue
in interfaceorg.eclipse.persistence.mappings.converters.Converter
- Specified by:
convertObjectValueToDataValue
in interfaceorg.eclipse.persistence.core.mappings.converters.CoreConverter<org.eclipse.persistence.mappings.DatabaseMapping,
org.eclipse.persistence.sessions.Session>
-
convertDataValueToObjectValue
public Object convertDataValueToObjectValue(Object dataValue, org.eclipse.persistence.sessions.Session session) - Specified by:
convertDataValueToObjectValue
in interfaceorg.eclipse.persistence.mappings.converters.Converter
- Specified by:
convertDataValueToObjectValue
in interfaceorg.eclipse.persistence.core.mappings.converters.CoreConverter<org.eclipse.persistence.mappings.DatabaseMapping,
org.eclipse.persistence.sessions.Session>
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.eclipse.persistence.mappings.converters.Converter
-
initialize
public void initialize(org.eclipse.persistence.mappings.DatabaseMapping mapping, org.eclipse.persistence.sessions.Session session) - Specified by:
initialize
in interfaceorg.eclipse.persistence.mappings.converters.Converter
- Specified by:
initialize
in interfaceorg.eclipse.persistence.core.mappings.converters.CoreConverter<org.eclipse.persistence.mappings.DatabaseMapping,
org.eclipse.persistence.sessions.Session>
-