[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6588) rollback to use "org.hibernate.SQL" category to log sql

Strong Liu (JIRA) noreply at atlassian.com
Thu Aug 18 22:21:02 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43277#comment-43277 ] 

Strong Liu commented on HHH-6588:
---------------------------------

[10:16]  <smarlow> stliu:  "do we really want to change this commonly used logging name".  We can change the statement logging class to:
[10:16]  <smarlow> private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, "org.hibernate.SQL");

> rollback to use "org.hibernate.SQL" category to log sql
> -------------------------------------------------------
>
>                 Key: HHH-6588
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6588
>             Project: Hibernate Core
>          Issue Type: Improvement
>            Reporter: Strong Liu
>            Assignee: Strong Liu
>
> now in hibernate core 4:
> {quote}
> With Hibernate 3, you could enable DEBUG logging for "org.hibernate.SQL" to see the SQL that was generated. With Hibernate 4, this is now controlled by "org.hibernate.engine.jdbc.spi.SqlStatementLogger".
> {quote}
> i don't see any reason what we need ask user to make this change

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list