ColdFusion 2021 ORM
Q - My organization uses CF ORM and we are currently evaluating CF2021, contemplating an UG from CF2016, (which I understand includes an UG of Hibernate 4.2 to 5.2 in the process).
While I've worked with CF for quite some time, I have not had much history with CF ORM over the years.
We happen to have a legacy table named with a keyword in MS SQL Server and it apparently needs to be wrapped when CF2021 ORM performs TSQL operations. Understandable and confirmed and apparently Hibernate by default does not do so.
Changing the name of the table is not a viable option at this time.
How do we force Hibernate to wrap a keyword eg: [Case] ?
I imagine we need either
hibernate.globally_quoted_identifiers=true (where false is the default)
and/or
hibernate.auto_quote_keyword=true (where false is the default).
From what I have researched, I have not been able to clarify if we need to create a .hbmxml file whereas these settings are apparently not available within ormsettings...
and/or
we need to add a jvm argument in the CF 2021 admin, and if so, not sure of the syntax?
Perhaps someone else has encountered this?
Any words of wisdom would be appreciated.
