rollback to use "org.hibernate.SQL" category to log sql

Description

now in hibernate core 4:

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".

i don't see any reason what we need ask user to make this change

Environment

None

Activity

Show:
Strong Liu
August 19, 2011, 4:20 AM

[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");

Brett Meyer
March 7, 2014, 10:08 PM

Bulk closing tickets resolved in released versions

Assignee

Strong Liu

Reporter

Strong Liu

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure