Top Description Inners
org.hibernate

public Interface SQLQueryResultMappingBuilder

Imports
org.hibernate.engine.query.sql.NativeSQLQueryReturn, org.hibernate.type.Type

Allows programmatic access from SQLQuery to define how to map SQL results back to in-memory objects, both entities as well as scalars. Essentially it defines an API akin to the <return/>, <return-scalar/> and <return-join/> elements under <sql-query/> definition in a Hibernate hbm.xml file.
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
public static class
org.hibernate back to summary

public Interface SQLQueryResultMappingBuilder.ReturnsHolder


Method Summary

Modifier and TypeMethod and Description
public void

Method Detail

addback to summary
public void add(NativeSQLQueryReturn queryReturn)
org.hibernate back to summary

public Class SQLQueryResultMappingBuilder.ScalarReturn

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private String
private final SQLQueryResultMappingBuilder.ReturnsHolder
private Type

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
returnsHolderback to summary
private final SQLQueryResultMappingBuilder.ReturnsHolder returnsHolder
typeback to summary
private Type type

Constructor Detail

ScalarReturnback to summary
public ScalarReturn(SQLQueryResultMappingBuilder.ReturnsHolder returnsHolder)