Implemented QueryKey.ParameterBindingsMemento NO_PARAMETER_BINDING_MEMENTO
This commit is contained in:
parent
ac1123be05
commit
b2aca3c846
|
@ -91,6 +91,9 @@ public interface QueryParameterBindings {
|
||||||
throw new NotYetImplementedFor6Exception( getClass() );
|
throw new NotYetImplementedFor6Exception( getClass() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QueryKey.ParameterBindingsMemento NO_PARAMETER_BINDING_MEMENTO = new QueryKey.ParameterBindingsMemento(){
|
||||||
|
};
|
||||||
|
|
||||||
QueryParameterBindings NO_PARAM_BINDINGS = new QueryParameterBindings() {
|
QueryParameterBindings NO_PARAM_BINDINGS = new QueryParameterBindings() {
|
||||||
@Override
|
@Override
|
||||||
public boolean isBound(QueryParameterImplementor parameter) {
|
public boolean isBound(QueryParameterImplementor parameter) {
|
||||||
|
@ -124,5 +127,10 @@ public interface QueryParameterBindings {
|
||||||
public boolean hasAnyMultiValuedBindings() {
|
public boolean hasAnyMultiValuedBindings() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public QueryKey.ParameterBindingsMemento generateQueryKeyMemento(SharedSessionContractImplementor persistenceContext) {
|
||||||
|
return NO_PARAMETER_BINDING_MEMENTO;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue