程序包 org.hibernate.loader.custom
This package defines a framework for custom loaders that accept handwritten SQL
-
接口概要 接口 说明 CustomQuery Extension point allowing any SQL query with named and positional parameters to be executed by Hibernate, returning managed entities, collections and simple scalar values.Return Represents a return in a custom query. -
类概要 类 说明 CollectionFetchReturn Specifically a fetch return that refers to a collection association.CollectionReturn Represents a return which names a collection role; it is used in defining a custom query for loading an entity's collection in non-fetching scenarios (i.e., loading the collection itself as the "root" of the result).ColumnCollectionAliases CollectionAliases that uses column names instead of generated aliases.ConstructorResultColumnProcessor Represents aConstructorResultwithin the custom query.ConstructorReturn A return representing aConstructorResultCustomLoader Extension point for loaders which use a SQL result set with "unexpected" column aliases.EntityFetchReturn Specifically a fetch return that refers to an entity association.FetchReturn Represents a return which names a fetched association.NonScalarResultColumnProcessor Represents non-scalar returns within the custom query.NonScalarReturn Represents some non-scalar (entity/collection) return within the query result.ResultRowProcessor Models an entire "row" of results within a custom queryRootReturn Represents a return which names a "root" entity.ScalarResultColumnProcessor Represents a scalar result within the custom queryScalarReturn Represent a scalar (aka simple value) return within a query result. -
异常错误概要 异常错误 说明 NonUniqueDiscoveredSqlAliasException