Module org.eclipse.persistence.jpa
Class ConverterManager
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.converters.ConverterManager
Manage field value to JDBC data type converters loaded from SPI providers.
-
Method Summary
Modifier and TypeMethodDescriptioncreateConverter
(String type) Create an instance of field value to JDBC data type converter mapped to providedConverter
metadata class name.static final ConverterManager
Get singleton instance of converters manager.boolean
hasConverter
(String type) Check whether converter instanceSupplier
exists for providedConverter
metadata class name.
-
Method Details
-
getInstance
Get singleton instance of converters manager.- Returns:
- singleton instance of converters manager
-
hasConverter
Check whether converter instanceSupplier
exists for providedConverter
metadata class name.- Parameters:
type
-Converter
metadata fully qualified class name- Returns:
- value of
true
when there exists mapping for provided class name orfalse
otherwise
-
createConverter
Create an instance of field value to JDBC data type converter mapped to providedConverter
metadata class name.- Parameters:
type
-Converter
metadata fully qualified class name- Returns:
- new instance of field value to JDBC data type converter
-