gavinbaumanis
04/06/2023, 2:56 AMlocal.deleteEntity = entityLoadByPK("customerAlertSpec", session.testEntityId);
This doesn't;
local.deleteEntity = entityLoadByPK(name="customerAlertSpec", id=session.testEntityId);
// This doesn't work either
// local.deleteEntity = entityLoadByPK(name="customerAlertSpec", id="#session.testEntityId#");
I get the following error;
'java.lang.Object lucee.runtime.functions.orm.EntityLoadByPK.call(lucee.runtime.PageContext, java.lang.String, java.lang.Object, boolean)'
Same result - with or without the unique attribute : (true OR false)gavinbaumanis
04/06/2023, 4:56 AMlocal.deleteEntity = entityLoadByPK("customerAlertSpec", session.testEntityId);
This doesn't - irrespective of the value used for the 3rd argument.
local.deleteEntity = entityLoadByPK("customerAlertSpec", session.testEntityId, true);
local.deleteEntity = entityLoadByPK("customerAlertSpec", session.testEntityId, false);