HHH-8878 Fix logged message about PooledLoOptimizer being created
This commit is contained in:
parent
7b3f1408f3
commit
03fa305667
|
@ -513,9 +513,7 @@ public class OptimizerFactory {
|
|||
if ( incrementSize < 1 ) {
|
||||
throw new HibernateException( "increment size cannot be less than 1" );
|
||||
}
|
||||
if ( LOG.isTraceEnabled() ) {
|
||||
LOG.tracev( "Creating pooled optimizer (lo) with [incrementSize={0}; returnClass=]", incrementSize, returnClass.getName() );
|
||||
}
|
||||
LOG.creatingPooledLoOptimizer( incrementSize, returnClass.getName() );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1646,4 +1646,8 @@ public interface CoreMessageLogger extends BasicLogger {
|
|||
"(%2$s=true)"
|
||||
)
|
||||
void applyingExplicitDiscriminatorColumnForJoined(String className, String overrideSetting);
|
||||
|
||||
@LogMessage(level = DEBUG)
|
||||
@Message(value = "Creating pooled optimizer (lo) with [incrementSize=%s; returnClass=%s]", id = 458)
|
||||
void creatingPooledLoOptimizer(int incrementSize, String name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue