[jboss-jira] [JBoss JIRA] (WFLY-4915) disable hibernate.auto_quote except for applications that set hibernate.auto_quote to true

Scott Marlow (JIRA) issues at jboss.org
Mon Jul 13 12:01:03 EDT 2015


Scott Marlow created WFLY-4915:
----------------------------------

             Summary: 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list