HHH-14540 Maintain strict API backwards compatibility
This commit is contained in:
parent
e155fc551e
commit
1dc49271c1
|
@ -1123,6 +1123,14 @@ public class SessionFactoryImpl implements SessionFactoryImplementor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated use {@link #configuredInterceptor(Interceptor, boolean, SessionFactoryOptions)}
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public static Interceptor configuredInterceptor(Interceptor interceptor, SessionFactoryOptions options) {
|
||||||
|
return configuredInterceptor( interceptor, false, options );
|
||||||
|
}
|
||||||
|
|
||||||
public static Interceptor configuredInterceptor(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options) {
|
public static Interceptor configuredInterceptor(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options) {
|
||||||
// NOTE : DO NOT return EmptyInterceptor.INSTANCE from here as a "default for the Session"
|
// NOTE : DO NOT return EmptyInterceptor.INSTANCE from here as a "default for the Session"
|
||||||
// we "filter" that one out here. The return from here should represent the
|
// we "filter" that one out here. The return from here should represent the
|
||||||
|
|
Loading…
Reference in New Issue