Module org.eclipse.persistence.core
Interface PlatformWrapper
- All Known Implementing Classes:
TIMESTAMPLTZWrapper,TIMESTAMPTZWrapper
public interface PlatformWrapper
Marks
DatabasePlatform specific wrapper of instance from ResultSet.
Instances returned by DatabasePlatform.getObjectFromResultSet(ResultSet, int, int, AbstractSession)
from ResultSet and marked as wrappers are considered as unknown to EclipseLink core module
so they are returned back to DatasourcePlatform.convertObject(Object, Class) method to be converted
to target DatabaseField.type class.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic booleanisPlatformWrapper(Object instance) Check whether provided instance is marked asDatabasePlatformspecific wrapper.
-
Method Details
-
isPlatformWrapper
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
-