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
SQLExceptionpublic 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 ResultTransformersession - The session from which the query request originated.SQLExceptionHibernateExceptionpublic Object[] buildResultRow(Object[] data, ResultSet resultSet, SharedSessionContractImplementor session) throws SQLException, HibernateException
SQLExceptionHibernateExceptionCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.