Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4915

disable hibernate.auto_quote except for applications that set hibernate.auto_quote to true

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Alpha6
    • 10.0.0.Alpha5
    • JPA / Hibernate
    • None

      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:

      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

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

            smarlow1@redhat.com Scott Marlow
            smarlow1@redhat.com Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: