Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIn:Fix bugzilla bug 177870 Allow design-time data set cache to be controlled solely by AppContext in 2.1.3 and head

- Summary:
CheckIn:Fix bugzilla bug 177870 Allow design-time data set cache to be controlled solely by AppContext in 2.1.3 and head


- Bugzilla Bug (s) Resolved:
[177870] Allow design-time data set cache to be controlled solely by AppContext in 2.1.3 and head

 

- Description:
 

The following is done in this check in:

  1. Deprecate API constants DataEngine.DATASET_CACHE_OPTION
  2. Add new API contstants DataEngine.DATA_SET_CACHE_ROW_LIMIT. Which will have following behavior:

               a. Negative integer: Enable data set cache. The row limit will not be set and all data set rows are fetched.

               b. Positive integer: Enable data set cache. This row limit will be used for ALL data sets, regardless of settings on individual data set designs.

               c. Zero:Disable data set cache regardless of report design settings and


- Tests Description:
Unit Test.


- Files Edited:
In 2.1.3

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngine.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheUtil.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedScriptDSQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedOdaDSQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedJointDataSourceQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedDataSourceQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheManager.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataSetCacheUtil.java"

 

"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/DataSetCacheTest.java"

 

In Head

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngine.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheUtil.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedScriptDSQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedOdaDSQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedJointDataSourceQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedDataSourceQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheManager.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataSetCacheUtil.java"

 

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/DataSetCacheTest.java"

 

- Files Added:

In 2.1.3

"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextCacheRowLimit3.txt"

"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextCacheRowLimit2.txt"

"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextCacheRowLimit1.txt"

 

In Head

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextCacheRowLimit3.txt"

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextCacheRowLimit2.txt"

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextCacheRowLimit1.txt"


- Files Deleted:

N/A

 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

 


Back to the top