Module org.eclipse.persistence.core
Package org.eclipse.persistence.queries
Class SQLResultSetMapping
java.lang.Object
org.eclipse.persistence.queries.SQLResultSetMapping
- All Implemented Interfaces:
Serializable
Purpose: Concrete class to represent the SQLResultSetMapping structure as defined by the EJB 3.0 Persistence specification. This class is used by the ResultSetMappingQuery and is a component of the EclipsepLink Project
- Since:
- TopLink Java Essentials
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSQLResultSetMapping
(Class<?> resultClass) Defaulting constructor.SQLResultSetMapping
(String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
convertClassNamesToClasses
(ClassLoader classLoader) INTERNAL: Convert all the class-name-based settings in this SQLResultSetMapping to actual class-based settings.getName()
Accessor for the internally stored list of ColumnResult.
-
Field Details
-
name
Stores the name of this SQLResultSetMapping. This name is unique within The project. -
results
Stores the list of SQLResult in the order they were added to the Mapping
-
-
Constructor Details
-
SQLResultSetMapping
Defaulting constructor. Will set the name to the result class name and add an EntityResult for the result class. -
SQLResultSetMapping
-
-
Method Details
-
convertClassNamesToClasses
INTERNAL: Convert all the class-name-based settings in this SQLResultSetMapping 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. -
getName
-
addResult
-
getResults
Accessor for the internally stored list of ColumnResult. Calling this method will result in a collection being created to store the ColumnResult
-