public interface LoadPlanAdvisor
ResultSetProcessor
and ScrollableResultSetProcessor
.
The processors consult with the advisor, if one is provided, as a means to influence the load plan, meaning that
the advisor might add fetches. A caveat is that any added fetches cannot be join fetches (they cannot alter the
SQL); if a fetch is added as FetchTiming.IMMEDIATE
, it must be a "subsequent form":
FetchStyle.SELECT
, FetchStyle.SUBSELECT
,
FetchStyle.BATCH
.LoadPlan advise(LoadPlan loadPlan)
loadPlan
- The load plan to advise on.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.