Example usage for org.hibernate.engine.spi SubselectFetch toSubselectString

List of usage examples for org.hibernate.engine.spi SubselectFetch toSubselectString

Introduction

In this page you can find the example usage for org.hibernate.engine.spi SubselectFetch toSubselectString.

Prototype

public String toSubselectString(String ukname) 

Source Link

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());
}