简体   繁体   English

如何配置实体外观以禁用Moqui框架中的检查实体存在

[英]How to configure Entity facade to disable checking entity existence in Moqui framework

According to Moqui documentation, Based on Data-Base Metadata section, The first time (in each run of Moqui) the Entity Facade does a database operation on an entity it will check to see if the table for that entity exists (unless configured not to). 根据Moqui文档的“基于数据库元数据”部分,首次(在Moqui的每次运行中)Entity Facade对实体进行数据库操作时,它将检查该实体的表是否存在(除非配置为不)。 My question is How to configure Moqui to disable entity existence? 我的问题是如何配置Moqui以禁用实体存在?

On moqui-conf.entity-facade.datasource there is startup-add-missing attribute that takes the value from default-property 'entity_add_missing_startup'. 在moqui-conf.entity-facade.datasource上,有startup-add-missing属性,该属性采用默认属性“ entity_add_missing_startup”中的值。 So in short add this entry on MoquiDevConf.xml and MoquiProductionConf.xml: 简而言之,请在MoquiDevConf.xml和MoquiProductionConf.xml上添加以下条目:

<default-property name="entity_add_missing_startup" value="false"/>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM