Orm Coldfusion EntityLoad读取计算字段

Orm Coldfusion EntityLoad读取计算字段,orm,coldfusion,cfml,coldfusion-2018,Orm,Coldfusion,Cfml,Coldfusion 2018,我有一个有很多字段的实体 <cfscript> component persistent="true" output="false" { ... property name="placeholder" default = 0; property name="expired" update=false insert=false; property name="admin" default = 0; property name="part

我有一个有很多字段的实体

<cfscript>
component persistent="true" output="false" {
...
property name="placeholder"     default = 0;
property name="expired"         update=false    insert=false;
property name="admin"           default = 0;
property name="partner"         default = 0;
我得到了一个类似这样的错误

我做了一个对象转储。看起来应该没问题


过期与其他字段不同。它由在数据库上进行的计算支持。这就是为什么

 property name="expired"            update=false    insert=false;
此外

 Account = EntityLoadByPK("Accounts", arguments.id);
许多人没有得到预期的结果。必须强制从数据库读取数据

 Account = EntityLoadByPK("Accounts", arguments.id);
 EntityReload(Account);
 Account = EntityLoadByPK("Accounts", arguments.id);
 EntityReload(Account);