Package org.hibernate.boot.query
Class ImplicitHbmResultSetMappingDescriptorBuilder
java.lang.Object
org.hibernate.boot.query.ImplicitHbmResultSetMappingDescriptorBuilder
Builder for implicit ResultSet mapping defined inline as part of a named native query
-
Constructor Summary
ConstructorDescriptionImplicitHbmResultSetMappingDescriptorBuilder
(String queryRegistrationName, int numberOfReturns, MetadataBuildingContext metadataBuildingContext) ImplicitHbmResultSetMappingDescriptorBuilder
(String queryRegistrationName, MetadataBuildingContext metadataBuildingContext) -
Method Summary
Modifier and TypeMethodDescriptionaddReturn
(JaxbHbmNativeQueryCollectionLoadReturnType returnMapping) addReturn
(JaxbHbmNativeQueryJoinReturnType returnMapping) addReturn
(JaxbHbmNativeQueryReturnType returnMapping) addReturn
(JaxbHbmNativeQueryScalarReturnType returnMapping) build
(HbmLocalMetadataBuildingContext context) boolean
-
Constructor Details
-
ImplicitHbmResultSetMappingDescriptorBuilder
public ImplicitHbmResultSetMappingDescriptorBuilder(String queryRegistrationName, MetadataBuildingContext metadataBuildingContext) -
ImplicitHbmResultSetMappingDescriptorBuilder
public ImplicitHbmResultSetMappingDescriptorBuilder(String queryRegistrationName, int numberOfReturns, MetadataBuildingContext metadataBuildingContext)
-
-
Method Details
-
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
-