[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5008) Log query lock mode in EntityLoader constructor

Sergey Vladimirov (JIRA) noreply at atlassian.com
Sun Mar 14 21:06:47 EDT 2010


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list