Package org.hibernate.boot.query
Class SqlResultSetMappingDescriptor
- java.lang.Object
-
- org.hibernate.boot.query.SqlResultSetMappingDescriptor
-
- All Implemented Interfaces:
NamedResultSetMappingDescriptor
public class SqlResultSetMappingDescriptor extends Object implements NamedResultSetMappingDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlResultSetMappingDescriptor.EntityResultDescriptor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlResultSetMappingDescriptor
from(SqlResultSetMapping mappingAnnotation)
static SqlResultSetMappingDescriptor
from(SqlResultSetMapping mappingAnnotation, String name)
String
getRegistrationName()
The name under which the result-set-mapping is to be registeredNamedResultSetMappingMemento
resolve(ResultSetMappingResolutionContext resolutionContext)
Create a representation of the described ResultSet mapping for the purpose of being stored in Hibernate'sNamedObjectRepository
-
-
-
Method Detail
-
from
public static SqlResultSetMappingDescriptor from(SqlResultSetMapping mappingAnnotation, String name)
-
from
public static SqlResultSetMappingDescriptor from(SqlResultSetMapping mappingAnnotation)
-
getRegistrationName
public String getRegistrationName()
Description copied from interface:NamedResultSetMappingDescriptor
The name under which the result-set-mapping is to be registered- Specified by:
getRegistrationName
in interfaceNamedResultSetMappingDescriptor
-
resolve
public NamedResultSetMappingMemento resolve(ResultSetMappingResolutionContext resolutionContext)
Description copied from interface:NamedResultSetMappingDescriptor
Create a representation of the described ResultSet mapping for the purpose of being stored in Hibernate'sNamedObjectRepository
- Specified by:
resolve
in interfaceNamedResultSetMappingDescriptor
- See Also:
QueryEngine.getNamedObjectRepository()
-
-