So I have this code to update a dataset:
aTest = entityLoadByPK('artist', 1);
It has no effect to the database! The record is not updated.
Now I deselect the checkbox in Lucee Server Admin under
ORM / "Flush at request end"
and now the data is saved!
Fresh Lucee 18.104.22.168 Windows installation
actally the Lucee versions does not matter a lot. What matters mostly is the Hibernate Extension version, so with which version you can you reproduce it?
Issue found at Hibernate Extension version 22.214.171.124 version. It's working fine only on '3.5.5-Final' which is used in 4.5 versions.
Latest version (Lucee 126.96.36.199, Hibernate 188.8.131.52) passes fine. One of the later Lucee version changed how Lucee handles "flushOnRequestEnd", maybe this solved the issue.
please test again with this version
I couldn't able to reproduce the issue on latest version(Lucee 184.108.40.206, Hibernate 220.127.116.11) . can you please check it on latest version.
Yes, working fine now. Issue is fixed in version 18.104.22.168.