You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2015/04/22 17:11:03 UTC

[jira] [Commented] (OFBIZ-6276) Fix deprecation issues in framework/entity

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

Adam Heath commented on OFBIZ-6276:
-----------------------------------

  [javac17] /srv/ofbiz/apache-git/framework/entity/src/org/ofbiz/entity/GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated
  [javac17]     public int storeAll(List<GenericValue> values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException {
  [javac17]                ^
  [javac17] /srv/ofbiz/apache-git/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated
  [javac17]             delegator.storeAll(valuesToWrite, doCacheClear, createDummyFks);
  [javac17]                      ^
  [javac17] /srv/ofbiz/apache-git/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated
  [javac17]                                     delegator.removeAll(valuesToDelete, doCacheClear);
  [javac17]                                              ^


> 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
>            Priority: Minor
>
> 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)