public class CustomLoader.ResultRowProcessor extends Object
Constructor and Description |
---|
CustomLoader.ResultRowProcessor(boolean hasScalars,
org.hibernate.loader.custom.CustomLoader.ResultColumnProcessor[] columnProcessors) |
Modifier and Type | Method and Description |
---|---|
Object |
buildResultRow(Object[] data,
ResultSet resultSet,
boolean hasTransformer,
SessionImplementor session)
Build a logical result row.
|
Object[] |
buildResultRow(Object[] data,
ResultSet resultSet,
SessionImplementor session) |
void |
prepareForAutoDiscovery(org.hibernate.loader.custom.CustomLoader.Metadata metadata) |
public CustomLoader.ResultRowProcessor(boolean hasScalars, org.hibernate.loader.custom.CustomLoader.ResultColumnProcessor[] columnProcessors)
public void prepareForAutoDiscovery(org.hibernate.loader.custom.CustomLoader.Metadata metadata) throws SQLException
SQLException
public Object buildResultRow(Object[] data, ResultSet resultSet, boolean hasTransformer, SessionImplementor session) throws SQLException, HibernateException
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.SQLException
HibernateException
public Object[] buildResultRow(Object[] data, ResultSet resultSet, SessionImplementor session) throws SQLException, HibernateException
SQLException
HibernateException
Copyright © 2018 JBoss by Red Hat. All rights reserved.