/** * Accessor for the current FetchPlan * * @return FetchPlan */ public FetchPlan getFetchPlan() { // TODO this should be enabled, but with detachAllOnCommit=true it raises exception // checkStatus(); return pm.getFetchPlan(); }