[ 
https://issues.apache.org/jira/browse/OFBIZ-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904981#action_12904981
 ] 

Deyan commented on OFBIZ-3882:
------------------------------

Hi Jacques, 

yes, i am using this in a production.

The idea is to enable the extend-entity tag to overload attributes specified in 
the original entity definition file. 

This would allow developers to extend entities in the ofbiz apps they create 
without modifying the original entitydef files which would cause conflicts and 
require merging. 

Basically it's mostly copy + paste code which gets executed when starting ofbiz 
and loading the entities, it does nothing during runtime so it's pretty safe to 
apply the patch. 

> Allow attributes enable-lock, no-auto-stamp, auto-clear-cache, never-cache 
> and sequence-bank-size in <extend-entity> tag in entitydef.xml fiels
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3882
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3882
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Deyan
>             Fix For: SVN trunk
>
>         Attachments: ModelEntity_extend_entity3.patch
>
>
> Allow attributes 
> enable-lock
> no-auto-stamp
> auto-clear-cache
> never-cache
> sequence-bank-size
>  in <extend-entity> tag in entitydef.xml fiels
> Example: 
> <extend-entity entity-name="Person" enable-lock="true" sequence-bank-size="1" 
> />

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to