HHH-11700 - Deprecate three org.hibernate.engine.spi.SessionFactoryImplementor methods

This commit is contained in:
Andrea Boriero 2017-04-27 17:07:14 +01:00 committed by Vlad Mihalcea
parent c434d9a9b1
commit 5ff2289da4
1 changed files with 9 additions and 0 deletions

View File

@ -115,14 +115,20 @@ public interface SessionFactoryImplementor extends Mapping, SessionFactory, Quer
* Access to the cachres of HQL/JPQL and native query plans.
*
* @return The query plan cache
*
* @deprecated (since 5.2) it will be replaced with the new QueryEngine concept introduced in 6.0
*/
@Deprecated
QueryPlanCache getQueryPlanCache();
/**
* Provides access to the named query repository
*
* @return The repository for named query definitions
*
* @deprecated (since 5.2) it will be replaced with the new QueryEngine concept introduced in 6.0
*/
@Deprecated
NamedQueryRepository getNamedQueryRepository();
/**
@ -137,7 +143,10 @@ public interface SessionFactoryImplementor extends Mapping, SessionFactory, Quer
* Retrieve the {@link Type} resolver associated with this factory.
*
* @return The type resolver
*
* @deprecated (since 5.2) No replacement, access to and handling of Types will be much different in 6.0
*/
@Deprecated
TypeResolver getTypeResolver();
/**