Package org.hibernate.boot.query
Class ImplicitHbmResultSetMappingDescriptorBuilder
- java.lang.Object
-
- org.hibernate.boot.query.ImplicitHbmResultSetMappingDescriptorBuilder
-
public class ImplicitHbmResultSetMappingDescriptorBuilder extends Object
Builder for implicit ResultSet mapping defined inline as part of a named native query
-
-
Constructor Summary
Constructors Constructor Description ImplicitHbmResultSetMappingDescriptorBuilder(String queryRegistrationName, int numberOfReturns, MetadataBuildingContext metadataBuildingContext)
ImplicitHbmResultSetMappingDescriptorBuilder(String queryRegistrationName, MetadataBuildingContext metadataBuildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImplicitHbmResultSetMappingDescriptorBuilder
addReturn(JaxbHbmNativeQueryCollectionLoadReturnType returnMapping)
ImplicitHbmResultSetMappingDescriptorBuilder
addReturn(JaxbHbmNativeQueryJoinReturnType returnMapping)
ImplicitHbmResultSetMappingDescriptorBuilder
addReturn(JaxbHbmNativeQueryReturnType returnMapping)
ImplicitHbmResultSetMappingDescriptorBuilder
addReturn(JaxbHbmNativeQueryScalarReturnType returnMapping)
HbmResultSetMappingDescriptor
build(HbmLocalMetadataBuildingContext context)
String
getRegistrationName()
boolean
hasAnyReturns()
-
-
-
Constructor Detail
-
ImplicitHbmResultSetMappingDescriptorBuilder
public ImplicitHbmResultSetMappingDescriptorBuilder(String queryRegistrationName, MetadataBuildingContext metadataBuildingContext)
-
ImplicitHbmResultSetMappingDescriptorBuilder
public ImplicitHbmResultSetMappingDescriptorBuilder(String queryRegistrationName, int numberOfReturns, MetadataBuildingContext metadataBuildingContext)
-
-
Method Detail
-
getRegistrationName
public String getRegistrationName()
-
hasAnyReturns
public boolean hasAnyReturns()
-
addReturn
public ImplicitHbmResultSetMappingDescriptorBuilder addReturn(JaxbHbmNativeQueryScalarReturnType returnMapping)
-
addReturn
public ImplicitHbmResultSetMappingDescriptorBuilder addReturn(JaxbHbmNativeQueryReturnType returnMapping)
-
addReturn
public ImplicitHbmResultSetMappingDescriptorBuilder addReturn(JaxbHbmNativeQueryJoinReturnType returnMapping)
-
addReturn
public ImplicitHbmResultSetMappingDescriptorBuilder addReturn(JaxbHbmNativeQueryCollectionLoadReturnType returnMapping)
-
build
public HbmResultSetMappingDescriptor build(HbmLocalMetadataBuildingContext context)
-
-