Lucee5, ContentBox3 ORM issue

37 views
Skip to first unread message

Saravana K

unread,
Jul 22, 2016, 5:31:38 AM7/22/16
to Lucee
Hi,

I tried to run ContentBox3 code in Lucee5, but I'm getting ORM error ( Attached screenshot for reference ).
The same code is working in Lucee4.5 without any issues. Can anyone suggest a fix for this issue.
Lucee5_ContentBox_Issue.png

Joseph Gooch

unread,
Jul 22, 2016, 8:52:59 AM7/22/16
to Lucee
Seems to suggest it's using the wrong dialect.  (SQL server should use [] or "" for identifier quotes, not backticks)

Are you setting this.ormsettings in your Application.cfc?  If so it should be set to a SQLServer dialect...  In hibernate it would be "SQLServer".. Assuming it's the same in CF ORM but others will probably correct me if wrong.
-G

Saravana K

unread,
Jul 25, 2016, 2:11:21 AM7/25/16
to Lucee
Joseph,

Thanks for your reply. I have changed the dialect in ORM setting to "SQLServer" and things worked.
Reply all
Reply to author
Forward
0 new messages