HHH-7699 Proper code formatting of log statements

This commit is contained in:
Sanne Grinovero 2012-10-17 15:10:44 +01:00
parent a074d3244d
commit e27afb8ded
1 changed files with 7 additions and 6 deletions

View File

@ -127,18 +127,19 @@ public class DriverManagerConnectionProviderImpl
} }
poolSize = ConfigurationHelper.getInt( AvailableSettings.POOL_SIZE, configurationValues, 20 ); // default pool size 20 poolSize = ConfigurationHelper.getInt( AvailableSettings.POOL_SIZE, configurationValues, 20 ); // default pool size 20
LOG.hibernateConnectionPoolSize(poolSize); LOG.hibernateConnectionPoolSize( poolSize );
autocommit = ConfigurationHelper.getBoolean( AvailableSettings.AUTOCOMMIT, configurationValues ); autocommit = ConfigurationHelper.getBoolean( AvailableSettings.AUTOCOMMIT, configurationValues );
LOG.autoCommitMode( autocommit ); LOG.autoCommitMode( autocommit );
isolation = ConfigurationHelper.getInteger( AvailableSettings.ISOLATION, configurationValues ); 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 ); url = (String) configurationValues.get( AvailableSettings.URL );
if ( url == null ) { if ( url == null ) {
String msg = LOG.jdbcUrlNotSpecified(AvailableSettings.URL); String msg = LOG.jdbcUrlNotSpecified( AvailableSettings.URL );
LOG.error(msg); LOG.error( msg );
throw new HibernateException( msg ); throw new HibernateException( msg );
} }