ColdFusion 2021 Errors
Recently we started upgrading ColdFusion from 2016 to 2021.
So tried to install ColdFusion 2021 and using 30 days free trial for testing purpose
Application can’t make Database Calls so can’t able to login into application and can’t perform CURD operations.
Below are orm settings in application.
ormenabled = true;
ormsettings = {};
ormsettings.cfclocation = [… ];
ormSettings.dbcreate = "update";
ormSettings.flushAtRequestEnd = false;
ormsettings.eventhandling = true;
ormSettings.automanageSession = false;
ormSettings.savemapping = false;
ormSettings.skipCFCwitherror = false;
ormSettings.useDBforMapping = true;
ormSettings.autogenmap = true;
ormSettings.logsql = true;
And below are some errors on Hibernate level.
- Error executing DDL via JDBC Statement
Getting this error when adding new properties on entities like case, group. Because those are reserved words in database
Tried below options to resolve this issue but none helpful.
Adding hibernate properites as jvm arguments, orm properties, and created hibernate.cfg.xml file
hibernate.globally_quoted_identifiers
hibernate.auto_quote_keyword
hibernate.globally_quoted_identifiers_skip_column_definitions
[Found]
https://hibernate.atlassian.net/browse/HHH-12192
Suggesting to upgrade hibernate-core version 5.2.13
- org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
Getting this error on calling ormFlush();
[Found]
https://hibernate.atlassian.net/browse/HHH-12878
Suggesting to upgrade hibernate-core version 5.4.1
so is there any possibility for updating hibernate jars in ColdFusion 2021?
Or other possibilities to fix all those issues?

