HHH-12530 add processing of unknown hints
This commit is contained in:
parent
15791a84fb
commit
db1d2d177b
|
@ -1103,12 +1103,16 @@ public abstract class AbstractProducedQuery<R> implements QueryImplementor<R> {
|
|||
}
|
||||
|
||||
if ( !applied ) {
|
||||
MSG_LOGGER.debugf( "Skipping unsupported query hint [%s]", hintName );
|
||||
handleUnrecognizedHint(hintName, value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
protected void handleUnrecognizedHint(String hintName,Object value) {
|
||||
MSG_LOGGER.debugf( "Skipping unsupported query hint [%s]", hintName );
|
||||
}
|
||||
|
||||
protected boolean applyJpaCacheRetrieveMode(CacheRetrieveMode mode) {
|
||||
this.cacheRetrieveMode = mode;
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue