org.hibernate.loader.custom
Class CustomLoader.ResultRowProcessor
java.lang.Objectorg.hibernate.loader.custom.CustomLoader.ResultRowProcessor
- CustomLoader
public class CustomLoader.ResultRowProcessor
extends java.lang.Object
ResultRowProcessor(boolean hasScalars, org.hibernate.loader.custom.CustomLoader.ResultColumnProcessor[] columnProcessors)
|
ResultRowProcessor
public ResultRowProcessor(boolean hasScalars,
org.hibernate.loader.custom.CustomLoader.ResultColumnProcessor[] columnProcessors)
buildResultRow
public Object buildResultRow(Object[] data,
ResultSet resultSet,
boolean hasTransformer,
SessionImplementor session)
throws SQLException,
HibernateException Build a logical result row.
At this point, Loader has already processed all non-scalar result data. We
just need to account for scalar result data here...
data - Entity data defined as "root returns" and already handled by the
normal Loader mechanism.resultSet - The JDBC result set (positioned at the row currently being processed).hasTransformer - Does this query have an associated ResultTransformersession - The session from which the query request originated.
prepareForAutoDiscovery
public void prepareForAutoDiscovery(org.hibernate.loader.custom.CustomLoader.Metadata metadata)
throws SQLException