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

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 22 13:52:31 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-5008:
--------------------------------

         Assignee: Steve Ebersole
    Fix Version/s: 3.5.0.Next

Sounds reasonable :)

> 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
>  Remaining Estimate: 1 hour
>
> 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