EntityJoinWalkerpublic class EntityJoinWalker extends org.hibernate.loader.AbstractEntityJoinWalker A walker for loaders that fetch entities |
Fields Summary |
---|
private final org.hibernate.LockMode | lockMode |
Constructors Summary |
---|
public EntityJoinWalker(org.hibernate.persister.entity.OuterJoinLoadable persister, String[] uniqueKey, int batchSize, org.hibernate.LockMode lockMode, org.hibernate.engine.SessionFactoryImplementor factory, Map enabledFilters)
super(persister, factory, enabledFilters);
this.lockMode = lockMode;
StringBuffer whereCondition = whereString( getAlias(), uniqueKey, batchSize )
//include the discriminator and class-level where, but not filters
.append( persister.filterFragment( getAlias(), Collections.EMPTY_MAP ) );
initAll( whereCondition.toString(), "", lockMode );
|
|