Top Fields Constructors Methods
org.hibernate.cfg.annotations

public Class ResultsetMappingSecondPass

extends Object
implements QuerySecondPass
Class Inheritance
All Implemented Interfaces
org.hibernate.cfg.QuerySecondPass, org.hibernate.cfg.SecondPass, java.io.Serializable
Imports
java.util.ArrayList, .HashMap, .HashSet, .Iterator, .List, .Map, .Set, javax.persistence.ColumnResult, .EntityResult, .FieldResult, .SqlResultSetMapping, org.hibernate.LockMode, .MappingException, org.hibernate.cfg.BinderHelper, .Mappings, .QuerySecondPass, org.hibernate.engine.ResultSetMappingDefinition, org.hibernate.engine.query.sql.NativeSQLQueryRootReturn, .NativeSQLQueryScalarReturn, org.hibernate.mapping.Component, .PersistentClass, .Property, .ToOne, .Value, org.hibernate.util.StringHelper, org.slf4j.Logger, .LoggerFactory

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private SqlResultSetMapping
private boolean
private Logger
private Mappings

Constructor Summary

AccessConstructor and Description
public
ResultsetMappingSecondPass(SqlResultSetMapping ann, Mappings mappings, boolean isDefault)

Method Summary

Modifier and TypeMethod and Description
public void
doSecondPass(Map<K, V> persistentClasses)

Implements org.hibernate.cfg.SecondPass.doSecondPass.

private List<E>
getFollowers(Iterator<E> parentPropIter, String reducedName, String name)

private static int
getIndexOfFirstMatchingProperty(List<E> propertyNames, String follower)

private Iterator<E>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annback to summary
private SqlResultSetMapping ann
isDefaultback to summary
private boolean isDefault
logback to summary
private Logger log
mappingsback to summary
private Mappings mappings

Constructor Detail

ResultsetMappingSecondPassback to summary
public ResultsetMappingSecondPass(SqlResultSetMapping ann, Mappings mappings, boolean isDefault)

Method Detail

doSecondPassback to summary
public void doSecondPass(Map<K, V> persistentClasses) throws MappingException

Implements org.hibernate.cfg.SecondPass.doSecondPass.

getFollowersback to summary
private List<E> getFollowers(Iterator<E> parentPropIter, String reducedName, String name)
Annotations
@SuppressWarnings:unchecked
getIndexOfFirstMatchingPropertyback to summary
private static int getIndexOfFirstMatchingProperty(List<E> propertyNames, String follower)
getSubPropertyIteratorback to summary
private Iterator<E> getSubPropertyIterator(PersistentClass pc, String reducedName)