Module org.eclipse.persistence.core
Interface CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>
-
- All Known Subinterfaces:
Platform
- All Known Implementing Classes:
AccessPlatform,AttunityPlatform,CloudscapePlatform,DatabasePlatform,DatabasePlatform,DatasourcePlatform,DB2MainframePlatform,DB2Platform,DB2ZPlatform,DBasePlatform,DerbyPlatform,DOMPlatform,EISPlatform,FirebirdPlatform,H2Platform,HANAPlatform,HSQLPlatform,Informix11Platform,InformixPlatform,JavaDBPlatform,MariaDBPlatform,MaxDBPlatform,MySQLPlatform,Oracle10Platform,Oracle11Platform,Oracle12Platform,Oracle18Platform,Oracle19Platform,Oracle21Platform,Oracle23Platform,Oracle8Platform,Oracle9Platform,OraclePlatform,PervasivePlatform,PointBasePlatform,PostgreSQL10Platform,PostgreSQLPlatform,SAXPlatform,SQLAnywherePlatform,SQLServerPlatform,SybasePlatform,SymfowarePlatform,TimesTen7Platform,TimesTenPlatform,XMLPlatform
public interface CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TconvertObject(Object sourceObject, Class<T> javaClass)Convert the object to the appropriate type by invoking the appropriate ConversionManager methodCONVERSION_MANAGERgetConversionManager()The platform hold its own instance of conversion manager to allow customization.
-
-
-
Method Detail
-
convertObject
<T> T convertObject(Object sourceObject, Class<T> javaClass)
Convert the object to the appropriate type by invoking the appropriate ConversionManager method- Parameters:
sourceObject- the object that must be convertedjavaClass- the class that the object must be converted to- Returns:
- the newly converted object
- Throws:
ConversionException- all exceptions will be thrown as this type.
-
getConversionManager
CONVERSION_MANAGER getConversionManager()
The platform hold its own instance of conversion manager to allow customization.
-
-