]
Steve Ebersole closed HHH-5008.
-------------------------------
Resolution: Fixed
Log query lock mode in EntityLoader constructor
-----------------------------------------------
Key: HHH-5008
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5008
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.5.0-CR-2
Environment: N/A
Reporter: Sergey Vladimirov
Assignee: Steve Ebersole
Priority: Trivial
Fix For: 3.5.0.Next
Original Estimate: 1 hour
Time Spent: 6 minutes
Remaining Estimate: 54 minutes
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() );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: