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
Priority: Trivial
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:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira