Module org.eclipse.persistence.core
Interface PlatformWrapper
-
public interface PlatformWrapperMarksDatabasePlatformspecific wrapper of instance fromResultSet. Instances returned byDatabasePlatform.getObjectFromResultSet(ResultSet, int, int, AbstractSession)fromResultSetand marked as wrappers are considered as unknown to EclipseLink core module so they are returned back toDatasourcePlatform.convertObject(Object, Class)method to be converted to targetDatabaseField.typeclass.
-
-
Method Summary
Static Methods Modifier and Type Method Description static booleanisPlatformWrapper(Object instance)Check whether provided instance is marked asDatabasePlatformspecific wrapper.
-
-
-
Method Detail
-
isPlatformWrapper
static boolean isPlatformWrapper(Object instance)
Check whether provided instance is marked asDatabasePlatformspecific wrapper.- Parameters:
instance- instance to be checked- Returns:
- value of
truewhen provided instance is marked asDatabasePlatformspecific wrapper orfalseotherwise
-
-