Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

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

Anupam M (JIRA)

2010-03-14

Replies: Find Java Web Hosting

Author LoginPost Reply
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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.