]
Scott Marlow closed WFLY-4915.
------------------------------
Resolution: Done
disable hibernate.auto_quote except for applications that set
hibernate.auto_quote to true
------------------------------------------------------------------------------------------
Key: WFLY-4915
URL:
https://issues.jboss.org/browse/WFLY-4915
Project: WildFly
Issue Type: Feature Request
Components: JPA / Hibernate
Affects Versions: 10.0.0.Alpha5
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 10.0.0.Alpha6
HHH-9917 reports an issue with Hibernate auto quoting 'value' as if its a
reserved keyword.
[
http://in.relation.to/2015/07/09/hibernate-orm-500-cr2-release] describes autoquoting:
{quote}
A new feature in 5.0 is the automatic quoting of identifiers that are believed to be
keywords in the underlying database. As this support is new, often the Dialects are too
aggressive in what they deem to be keywords. Thus we added a new setting to disable this
behavior if it causes problems in your application. This can be controlled by specifying
hibernate.auto_quote_keyword as false in configuration settings
{quote}
We can allow JPA applications on WildFly that set hibernate.auto_quote_keyword to true.
For applications that do not specify the hibernate.auto_quote_keyword property, we will
default to false, so that applications do not see errors with the auto quoting feature
(e.g. TCK).