HHH-14540 Maintain strict API backwards compatibility
This commit is contained in:
parent
1c9567832c
commit
6ee835caa4
|
@ -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) {
|
||||
// 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
|
||||
|
|
Loading…
Reference in New Issue