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