NamedQuery doesn't log comment when UPDATE/DELETE

Description

I have some native named queries defined into my *hbm.xml file

Even enabling sql comments

my update and delete queries don't show the comments

Select works

Update/delete don't

Environment

None

Activity

Show:
Silvio Fragata da Silva
April 18, 2017, 6:51 PM

Hi, for the test case project, I need create a repository into my GitHub account or ask for a Merge Request into hibernate's ?

Thanks

Silvio Fragata da Silva
April 18, 2017, 7:50 PM
Edited
Chris Cranford
April 19, 2017, 4:17 PM

Thanks for the test case.

Ivo Hrádek
July 31, 2017, 1:51 PM

Possible fix: https://github.com/hibernate/hibernate-orm/pull/1968

PR doesn't cause any regressions locally.

Assignee

Unassigned

Reporter

Silvio Fragata da Silva

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure