org.eclipse.persistence.queries
Class SQLResult
java.lang.Object
org.eclipse.persistence.queries.SQLResult
- Direct Known Subclasses:
- ColumnResult, EntityResult
public abstract class SQLResult
- extends Object
Purpose:
An abstract superclass that represents the commonalities between the main
result types of the SQLResultSetMapping
- Since:
- TopLink Java Essentials
- Author:
- Gordon Yorke
- See Also:
EntityResult
,
ColumnResult
SQLResult
public SQLResult()
convertClassNamesToClasses
public void convertClassNamesToClasses(ClassLoader classLoader)
- INTERNAL:
Convert all the class-name-based settings in this SQLResult to actual class-based
settings. This method is used when converting a project that has been built
with class names to a project with classes.
- Parameters:
classLoader
-
isColumnResult
public boolean isColumnResult()
isEntityResult
public boolean isEntityResult()
getValueFromRecord
public abstract Object getValueFromRecord(DatabaseRecord record,
ResultSetMappingQuery query)
- INTERNAL:
This method is a convenience method for extracting values from Results