Issue Type: Bug Bug
Affects Versions: 4.1.5.SP1
Assignee: Unassigned
Attachments: logging-enum-test.zip
Created: 30/Jul/12 7:55 AM
Description:

org.hibernate.type.EnumType is full of such logging:
LOG.tracev( "Returning '{0}' as column {1}", name, names[0] );

This leads to the following output:
[EnumType] [TRACE]: Binding {0} to parameter: 1

Excepcted:
[EnumType] [TRACE]: Binding VALUE to parameter: 1

Possible fix, change to
LOG.tracev( "Returning {0} as column {1}", name, names[0] );

Test case in the attachment or you may view it on Github: https://github.com/isopov/hibernate-logging-enum-test

Environment: OS: Linux.
Db: H2 and Oracle 11g.
Project: Hibernate ORM
Priority: Minor Minor
Reporter: Ivan Sopov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira