Log query lock mode in EntityLoader constructor

Description

Change line in constructor from

log.debug( "Static select for entity " + entityName + ": " + getSQLString() );

to

if (log.isDebugEnabled())
log.debug( "Static select for entity " + entityName + " [" + lockMode + "]: " + getSQLString() );

OR

if (log.isDebugEnabled())
log.debug( "Static select [" + lockMode + "] for entity " + entityName + ": " + getSQLString() );

Activity

Steve EbersoleMarch 22, 2010 at 7:51 PM

Sounds reasonable slightly smiling face

Fixed

Details

Assignee

Reporter

Original estimate

Time tracking

0.1h logged0.9h remaining

Components

Fix versions

Priority

Created March 15, 2010 at 3:04 AM
Updated March 22, 2010 at 7:58 PM
Resolved March 22, 2010 at 7:58 PM

Flag notifications