public class

CustomLoader.ResultRowProcessor

extends Object
java.lang.Object
   ↳ org.hibernate.loader.custom.CustomLoader.ResultRowProcessor

Summary

Public Constructors
CustomLoader.ResultRowProcessor(boolean hasScalars, ResultColumnProcessor[] columnProcessors)
Public Methods
Object buildResultRow(Object[] data, ResultSet resultSet, boolean hasTransformer, SessionImplementor session)
Build a logical result row.
void prepareForAutoDiscovery(CustomLoader.Metadata metadata)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CustomLoader.ResultRowProcessor (boolean hasScalars, ResultColumnProcessor[] columnProcessors)

Public Methods

public Object buildResultRow (Object[] data, ResultSet resultSet, boolean hasTransformer, SessionImplementor session)

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...

Parameters
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 ResultTransformer
session The session from which the query request originated.
Returns
  • The logical result row
Throws
SQLException
HibernateException
SQLException

public void prepareForAutoDiscovery (CustomLoader.Metadata metadata)

Throws
SQLException