public class ScalarResultColumnProcessor extends Object
| Constructor and Description |
|---|
ScalarResultColumnProcessor(int position) |
ScalarResultColumnProcessor(String alias,
Type type) |
| 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 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 © 2001-2022 Red Hat, Inc. All Rights Reserved.