Skip to content

Commit

Permalink
HHH-14540 Maintain strict API backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Nov 16, 2021
1 parent 06a8158 commit 9564ce3
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -1101,6 +1101,14 @@ public Type resolveParameterBindType(Class clazz){
}
}

/**
* @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
Expand Down

0 comments on commit 9564ce3

Please sign in to comment.