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

Gareth Carter commented on OFBIZ-6276:
--------------------------------------

What about new method that allows passing in an options object

storeAll(List<GenericValue> values, StoreOptions options) ?

You can deprecate the old methods without changes

Moving forward, you would just need to add new values to the StoreOptions class 
rather than adding new parameters to the existing one

I am not sure about the name StoreOptions though, EntityOptions ?

> Fix deprecation issues in framework/entity
> ------------------------------------------
>
>                 Key: OFBIZ-6276
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6276
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Adam Heath
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-6276-variant-1.patch, OFBIZ-6276-variant-2.patch
>
>
> It appears that the storeAll() variants are being refactor; basically, the 
> useCache parameter is being removed.  However, this has caused the
> entity engine to have deprecation with itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to