HHH-7699 Proper code formatting of log statements
This commit is contained in:
parent
a074d3244d
commit
e27afb8ded
|
@ -127,18 +127,19 @@ public class DriverManagerConnectionProviderImpl
|
|||
}
|
||||
|
||||
poolSize = ConfigurationHelper.getInt( AvailableSettings.POOL_SIZE, configurationValues, 20 ); // default pool size 20
|
||||
LOG.hibernateConnectionPoolSize(poolSize);
|
||||
LOG.hibernateConnectionPoolSize( poolSize );
|
||||
|
||||
autocommit = ConfigurationHelper.getBoolean( AvailableSettings.AUTOCOMMIT, configurationValues );
|
||||
LOG.autoCommitMode( autocommit );
|
||||
|
||||
isolation = ConfigurationHelper.getInteger( AvailableSettings.ISOLATION, configurationValues );
|
||||
if (isolation != null) LOG.jdbcIsolationLevel(Environment.isolationLevelToString(isolation.intValue()));
|
||||
if ( isolation != null )
|
||||
LOG.jdbcIsolationLevel( Environment.isolationLevelToString( isolation.intValue() ) );
|
||||
|
||||
url = (String) configurationValues.get( AvailableSettings.URL );
|
||||
if ( url == null ) {
|
||||
String msg = LOG.jdbcUrlNotSpecified(AvailableSettings.URL);
|
||||
LOG.error(msg);
|
||||
String msg = LOG.jdbcUrlNotSpecified( AvailableSettings.URL );
|
||||
LOG.error( msg );
|
||||
throw new HibernateException( msg );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue