类 ResultSetMappingBinder
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.ResultSetMappingBinder
-
public abstract class ResultSetMappingBinder extends Object
- 作者:
- Steve Ebersole, Emmanuel Bernard
-
-
构造器概要
构造器 构造器 说明 ResultSetMappingBinder()
-
方法概要
-
-
-
方法详细资料
-
bind
public static ResultSetMappingDefinition bind(ResultSetMappingBindingDefinition resultSetMappingSource, HbmLocalMetadataBuildingContext context)
Build a ResultSetMappingDefinition given a containing element for the "return-XXX" elements. This form is used for ResultSet mappings defined outside the context of any specific entity. Forhbm.xmlthis 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 state- 返回:
- The ResultSet mapping descriptor
-
bind
public static ResultSetMappingDefinition bind(ResultSetMappingBindingDefinition resultSetMappingSource, HbmLocalMetadataBuildingContext context, String prefix)
Build a ResultSetMappingDefinition given a containing element for the "return-XXX" elements- 参数:
resultSetMappingSource- The XML data as a JAXB bindingcontext- The mapping stateprefix- A prefix to apply to named ResultSet mapping; this is eithernullfor ResultSet mappings defined outside of any entity, or the name of the containing entity if defined within the context of an entity- 返回:
- The ResultSet mapping descriptor
-
extractReturnDescription
public static NativeSQLQueryScalarReturn extractReturnDescription(JaxbHbmNativeQueryScalarReturnType rtnSource, HbmLocalMetadataBuildingContext context)
-
extractReturnDescription
public static NativeSQLQueryRootReturn extractReturnDescription(JaxbHbmNativeQueryReturnType rtnSource, HbmLocalMetadataBuildingContext context, int queryReturnPosition)
-
extractReturnDescription
public static NativeSQLQueryJoinReturn extractReturnDescription(JaxbHbmNativeQueryJoinReturnType rtnSource, HbmLocalMetadataBuildingContext context, int queryReturnPosition)
-
extractReturnDescription
public static NativeSQLQueryReturn extractReturnDescription(JaxbHbmNativeQueryCollectionLoadReturnType rtnSource, HbmLocalMetadataBuildingContext context, int queryReturnPosition)
-
-