Incorrect formatting of SQL statement on logging when entities/tables or fields/columns named like keywords (e.g. "group" or "order").

Description

background Some of my entites and/or their fields are named after keywords like "group" or "order". My schema also uses this naming. The mapping is realized with quoted identifiers.

problem SQL statements are incorrectly formatted when logged. This only happens when identifers are quoted with [] (e.g. org.hibernate.dialect.SQLServer2012Dialect)

test case

Environment

hibernate-core-5.0.10.Final
jdk1.8.0_151
Windows10
SqlServer2016

Assignee

Dmitrii Bocharov

Reporter

Christian Schlegel

Fix versions

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Trivial
Configure