mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 16:44:57 +00:00
HHH-14540 Maintain strict API backwards compatibility
This commit is contained in:
parent
06a8158fb7
commit
9564ce32de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user