public abstract class ResultSetMappingBinder extends Object
Constructor and Description |
---|
ResultSetMappingBinder() |
public static ResultSetMappingDefinition bind(ResultSetMappingBindingDefinition resultSetMappingSource, HbmLocalMetadataBuildingContext context)
hbm.xml
this means at the root of the document. For annotations, this means at
the package level.resultSetMappingSource
- The XML data as a JAXB bindingcontext
- The mapping statepublic static ResultSetMappingDefinition bind(ResultSetMappingBindingDefinition resultSetMappingSource, HbmLocalMetadataBuildingContext context, String prefix)
resultSetMappingSource
- The XML data as a JAXB bindingcontext
- The mapping stateprefix
- A prefix to apply to named ResultSet mapping; this is either null
for
ResultSet mappings defined outside of any entity, or the name of the containing entity
if defined within the context of an entitypublic static NativeSQLQueryScalarReturn extractReturnDescription(JaxbHbmNativeQueryScalarReturnType rtnSource, HbmLocalMetadataBuildingContext context)
public static NativeSQLQueryRootReturn extractReturnDescription(JaxbHbmNativeQueryReturnType rtnSource, HbmLocalMetadataBuildingContext context, int queryReturnPosition)
public static NativeSQLQueryJoinReturn extractReturnDescription(JaxbHbmNativeQueryJoinReturnType rtnSource, HbmLocalMetadataBuildingContext context, int queryReturnPosition)
public static NativeSQLQueryReturn extractReturnDescription(JaxbHbmNativeQueryCollectionLoadReturnType rtnSource, HbmLocalMetadataBuildingContext context, int queryReturnPosition)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.