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, .Locale, .Map, .Set, javax.persistence.ColumnResult, .ConstructorResult, .EntityResult, .FieldResult, .SqlResultSetMapping, org.hibernate.LockMode, .MappingException, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.cfg.BinderHelper, .QuerySecondPass, org.hibernate.engine.ResultSetMappingDefinition, org.hibernate.engine.query.spi.sql.NativeSQLQueryConstructorReturn, .NativeSQLQueryRootReturn, .NativeSQLQueryScalarReturn, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.internal.util.StringHelper, org.hibernate.mapping.Component, .PersistentClass, .Property, .ToOne, .Value

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final SqlResultSetMapping
private final MetadataBuildingContext
private final boolean
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.hibernate.cfg.SecondPass.doSecondPass.

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

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

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

Field Detail

annback to summary
private final SqlResultSetMapping ann
contextback to summary
private final MetadataBuildingContext context
isDefaultback to summary
private final boolean isDefault
LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

ResultsetMappingSecondPassback to summary
public ResultsetMappingSecondPass(SqlResultSetMapping ann, MetadataBuildingContext context, boolean isDefault)

Method Detail

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

Implements org.hibernate.cfg.SecondPass.doSecondPass.

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