[jbpm-commits] JBoss JBPM SVN: r5216 - jbpm4/trunk/modules/integration/report/src/main/resources.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jul 3 08:33:57 EDT 2009


Author: heiko.braun at jboss.com
Date: 2009-07-03 08:33:56 -0400 (Fri, 03 Jul 2009)
New Revision: 5216

Modified:
   jbpm4/trunk/modules/integration/report/src/main/resources/overall_activity.rptdesign
Log:
fix JBPM-2359: reporting on oracle

Modified: jbpm4/trunk/modules/integration/report/src/main/resources/overall_activity.rptdesign
===================================================================
--- jbpm4/trunk/modules/integration/report/src/main/resources/overall_activity.rptdesign	2009-07-03 12:21:36 UTC (rev 5215)
+++ jbpm4/trunk/modules/integration/report/src/main/resources/overall_activity.rptdesign	2009-07-03 12:33:56 UTC (rev 5216)
@@ -26,6 +26,17 @@
                         </structure>
                     </list-property>
                 </structure>
+                <structure>
+                    <property name="name">index</property>
+                    <property name="dataType">integer</property>
+                    <property name="aggregateFunction">RUNNINGCOUNT</property>
+                    <list-property name="arguments">
+                        <structure>
+                            <property name="name">Expression</property>
+                            <expression name="value">row["dpl"]</expression>
+                        </structure>
+                    </list-property>
+                </structure>
             </list-property>
             <list-property name="columnHints">
                 <structure>
@@ -37,6 +48,15 @@
                     <property name="displayName">processId</property>
                 </structure>
             </list-property>
+            <list-property name="filter">
+                <structure>
+                    <property name="operator">le</property>
+                    <expression name="expr">row["index"]</expression>
+                    <simple-property-list name="value1">
+                        <value>10</value>
+                    </simple-property-list>
+                </structure>
+            </list-property>
             <structure name="cachedMetaData">
                 <list-property name="resultSet">
                     <structure>
@@ -54,6 +74,11 @@
                         <property name="name">total_records</property>
                         <property name="dataType">integer</property>
                     </structure>
+                    <structure>
+                        <property name="position">4</property>
+                        <property name="name">index</property>
+                        <property name="dataType">integer</property>
+                    </structure>
                 </list-property>
             </structure>
             <property name="dataSource">MySQL</property>
@@ -76,8 +101,7 @@
             <property name="queryText">SELECT d.DBID_ as "dpl", p.STRINGVAL_ as "processId" FROM JBPM4_DEPLOYMENT d, JBPM4_DEPLOYPROP p 
  WHERE p.KEY_='pdid' 
  AND d.DBID_=p.DEPLOYMENT_ 
- GROUP BY "dpl","processId"
- LIMIT 10</property>
+ GROUP BY d.DBID_,p.STRINGVAL_</property>
             <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
 <model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
   <Version>1.0</Version>
@@ -323,12 +347,21 @@
                     <property name="displayName">PROCDEFID_</property>
                 </structure>
             </list-property>
+            <list-property name="filter">
+                <structure>
+                    <property name="operator">le</property>
+                    <expression name="expr">row["index"]</expression>
+                    <simple-property-list name="value1">
+                        <value>15</value>
+                    </simple-property-list>
+                </structure>
+            </list-property>
             <structure name="cachedMetaData">
                 <list-property name="resultSet">
                     <structure>
                         <property name="position">1</property>
                         <property name="name">numExecutions</property>
-                        <property name="dataType">integer</property>
+                        <property name="dataType">decimal</property>
                     </structure>
                     <structure>
                         <property name="position">2</property>
@@ -348,8 +381,8 @@
                     <property name="position">1</property>
                     <property name="name">numExecutions</property>
                     <property name="nativeName">numExecutions</property>
-                    <property name="dataType">integer</property>
-                    <property name="nativeDataType">4</property>
+                    <property name="dataType">decimal</property>
+                    <property name="nativeDataType">-5</property>
                 </structure>
                 <structure>
                     <property name="position">2</property>
@@ -362,8 +395,7 @@
             <property name="queryText">SELECT count(PROCDEFID_) as "numExecutions", PROCDEFID_
 	FROM JBPM4_HIST_PROCINST J 
 	GROUP BY PROCDEFID_ 
-	ORDER BY "numExecutions" DESC
-	limit 15</property>
+	ORDER BY "numExecutions" DESC</property>
             <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
 <model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
   <Version>1.0</Version>




More information about the jbpm-commits mailing list