http://coldfusion.com logo
Docs
Join the conversationJoin Slack
Channels
adobe
advent-of-code
auwcl
aws
books
bot-dev
box-products
cfeclipse
cfkrauts
cflint
cfml-beginners
cfml-general
cfml-tuning
cfsummit2022
cfwheels
ci
community_courses
css
devops-general
docker
docker-commandbox
documentation
events
friday-puzzle
fusion-reactor
fw1
ide
java-and-jvm
javascript
jobs
jobs-non-us
linen-dev
lucee
masacms
meta
migrations
mura
music
nosql
object-oriented
orm
perf-monitor
prog-general
slack-help
sql
taffy
testing
version-control
vuejs
water-cooler
Powered by Linen
orm
  • d

    dfgrumpy

    01/28/2022, 6:53 AM
    Has anyone seen an issue where ormreload() doesn’t do anything? I have an app running on Lucee 5.3.8.206 and in local dev ormreload is ran on every request. However, any changes to the orm cfcs are not picked up when dbcreate is set to update. If I change it dropcreate the tables are rebuilt. Anyone have any ideas? TIA.
    r
    9 replies · 2 participants
  • d

    deactivateduser

    03/22/2022, 3:04 PM
    Ok so it has been a while since I have been deep in orm session mumbo jumbo, for context this is adobe 2018. I would like some confirmation to make sure my memory is not causing me to have issues. But if I am using 2 datasources in my system. 1 that uses ORM and 1 that doesn't. If I have some objects being loaded in via orm with datasource 1, and then I run a transaction against datasource 2, does that close the session in datasource 1? Going to explain the code in the thread for more detail.
    r
    g
    25 replies · 3 participants
  • g

    Gregory Alexander

    01/05/2023, 9:54 AM
    Is there a good article on how to covert ACF ORM to Lucee? I want to port Galaxie Blog over to Lucee and am not quite sure where to begin.
    c
    s
    +2
    10 replies · 5 participants
Powered by Linen
Title
g

Gregory Alexander

01/05/2023, 9:54 AM
Is there a good article on how to covert ACF ORM to Lucee? I want to port Galaxie Blog over to Lucee and am not quite sure where to begin.
c

cfsimplicity

01/05/2023, 10:53 AM
When I moved from ACF9 to Railo/Lucee some years ago I did encounter a few issues but I think most have been sorted since. If you do find any you can bring them up here.
s

sknowlton

01/05/2023, 1:06 PM
You might wait until Lucee 6 for this as they've upgraded Hibernate from (I think) v3 to v5. I wouldn't recommend dealing with the differences between ACF ORM and Lucee ORM right now. There are not tons of them but there are some. Unless you wanted to drop Hibernate completely and move to something like Quick, but that's more of an undertaking
g

Gregory Alexander

01/07/2023, 8:49 AM
Thanks for the feedback all, when is Lucee 6 coming out to the best of your knowlege? I have a ton of code with ACF Orm.
s

sknowlton

01/07/2023, 12:34 PM
They haven't announced a release schedule to my knowledge but they've been talking about it a lot more lately and I know they're wrapping up the 5.x branch. So I wouldn't invest any time doing a conversion to support Hibernate 3 if I were you, although it's conceivable that the delta between what you'd have to do for v3 vs. v5 is not huge. Mostly the bugs in v3 are a bother if you mix and match HQL with SQL but if you don't do that, it may be OK to get started
j

jclausen

01/17/2023, 5:11 PM
The updated Hibernate v5 extension will work with Lucee 5.3.10, however there are some bugs we are still tracking for it to to have drop in compatibility. Two are regressions and three are issues of compatibility. https://luceeserver.atlassian.net/browse/LDEV-4150 - not a regression, occurs in both 3.5 and 5.4 https://luceeserver.atlassian.net/browse/LDEV-4121 - not a regression, , occurs in both 3.5 and 5.4 https://luceeserver.atlassian.net/browse/LDEV-4067 - not a regression, , occurs in both 3.5 and 5.4 https://luceeserver.atlassian.net/browse/LDEV-3641 - 💣 5.4 regression, only occurs in 5.4 💣 https://luceeserver.atlassian.net/browse/LDEV-4276 - 💣 5.4 regression, only occurs in 5.4 💣 (edited)
👀 1
👍 1
This one, however, is a total blocker for most using ORM and is a bug in the current version of Lucee: https://luceeserver.atlassian.net/jira/software/c/projects/LDEV/issues/LDEV-4017 cc/ @zackster
g

Gregory Alexander

01/19/2023, 9:45 AM
The last link that you provided does not work JClausen. Can you please provide another link?
j

jclausen

01/21/2023, 8:16 PM
Looks like that one only works in Desktop. Here you go: https://luceeserver.atlassian.net/browse/LDEV-4017
👀 1
g

Gregory Alexander

01/22/2023, 9:20 PM
Thanks! Yea, that is not good, hopefully they will fix it soon!
e

Evil Ware

02/11/2023, 3:21 AM
@Gregory Alexander In AFC ORM, relationships are defined using the "hasMany" and "belongsTo" methods. In Lucee ORM, relationships are defined using the "property" and "ormSettings" methods. Its not ultra-direct but very close. I would rope in Zackster into this as if anyone understands Lucee ORM, it would be him.
View count: 3