Example usage for org.hibernate.engine.spi SharedSessionContractImplementor getLoadQueryInfluencers

List of usage examples for org.hibernate.engine.spi SharedSessionContractImplementor getLoadQueryInfluencers

Introduction

In this page you can find the example usage for org.hibernate.engine.spi SharedSessionContractImplementor getLoadQueryInfluencers.

Prototype

LoadQueryInfluencers getLoadQueryInfluencers();

Source Link

Document

Get the load query influencers associated with this session.

Usage

From source file:com.blazebit.persistence.integration.hibernate.CustomBasicCollectionPersister.java

License:Apache License

@Override
protected CollectionInitializer createSubselectInitializer(SubselectFetch subselect,
        SharedSessionContractImplementor session) {
    return new CustomSubselectCollectionLoader(this,
            subselect.toSubselectString(getCollectionType().getLHSPropertyName()), subselect.getResult(),
            subselect.getQueryParameters(), subselect.getNamedParameterLocMap(), session.getFactory(),
            session.getLoadQueryInfluencers());
}

From source file:com.blazebit.persistence.integration.hibernate.CustomOneToManyPersister.java

License:Apache License

@Override
protected CollectionInitializer createSubselectInitializer(SubselectFetch subselect,
        SharedSessionContractImplementor session) {
    return new CustomSubselectOneToManyLoader(this,
            subselect.toSubselectString(getCollectionType().getLHSPropertyName()), subselect.getResult(),
            subselect.getQueryParameters(), subselect.getNamedParameterLocMap(), session.getFactory(),
            session.getLoadQueryInfluencers());
}