简体   繁体   中英

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). My question is How to configure Moqui to disable entity existence?

On moqui-conf.entity-facade.datasource there is startup-add-missing attribute that takes the value from default-property 'entity_add_missing_startup'. So in short add this entry on MoquiDevConf.xml and MoquiProductionConf.xml:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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