public class ConstructorResultColumnProcessor extends Object
ConstructorResult
within the custom query.Constructor and Description |
---|
ConstructorResultColumnProcessor(Class targetClass,
ScalarResultColumnProcessor[] scalarProcessors) |
Modifier and Type | Method and Description |
---|---|
Object |
extract(Object[] data,
ResultSet resultSet,
SharedSessionContractImplementor session)
Perform The extraction
|
void |
performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata,
List<Type> types,
List<String> aliases)
Perform discovery, if needed.
|
public ConstructorResultColumnProcessor(Class targetClass, ScalarResultColumnProcessor[] scalarProcessors)
public void performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata, List<Type> types, List<String> aliases) throws SQLException
metadata
- Delegate for accessing metadata about the JDBC ResultSettypes
- The building List of typesaliases
- The building list of column names/aliasesSQLException
- Indicates a problem accessing the JDBC objectspublic Object extract(Object[] data, ResultSet resultSet, SharedSessionContractImplementor session) throws SQLException, HibernateException
data
- All non-scalar results (handled at a higher level than these processors)resultSet
- The JDBC result set.session
- The Hibernate SessionSQLException
- Indicates a problem accessing the JDBC objectsHibernateException
- Indicates a higher-level problem already categorized by HibernateCopyright © 2021 JBoss by Red Hat. All rights reserved.