Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022366
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementcriticalalways2012-11-21 12:422012-11-22 18:03
ReporteregoitzView Statuspublic 
Assigned ToioritzCia 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision41823da572dd
ProjectionnoneETAnoneTarget Version3.0MP18
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version3.0MP16SCM revision 
Review Assigned Toegoitz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022366: The multidimensional tax report does not close connection on oracle.

DescriptionThe multidimensional tax report does not close connection on oracle.
After execute the report having data on the result many cursors are not closed.
Steps To Reproduce-Execute the following query at oracle:
SELECT sql_text, COUNT(*)
  FROM v$open_cursor
 GROUP BY sql_text
 ORDER BY COUNT(*) DESC;
-Execute the multidimensional tax report, to get data on the result.
-Execute again the query:
SELECT sql_text, COUNT(*)
  FROM v$open_cursor
 GROUP BY sql_text
 ORDER BY COUNT(*) DESC;

See that there are many open_cusors for the following statement:

SELECT C_CURRENCY_CONVERT(:1 , :2 , :3 , :4 , NULL, :5 ) FRO


Proposed SolutionClose the prepared statemente.
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0022368 closedioritzCia Openbravo ERP UIDefinition has a not closed PreparedStatement 
related to defect 0022372 closedioritzCia Openbravo ERP Not closed PreparedStatment. 
related to defect 0022373 closedioritzCia Localization Pack: Spain Cursors are not closed when when using 349 report 

-  Notes
(0054432)
hgbot (developer)
2012-11-21 17:15

Repository: erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30
Changeset: 41823da572dd7bcaa9a89f6f94d4aa7b0f68b2c2
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Wed Nov 21 17:02:26 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30/rev/41823da572dd7bcaa9a89f6f94d4aa7b0f68b2c2 [^]

Fixes issue 22366: The report does not close connection on oracle.

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/invoiceTaxReportEnhanced30/utility/Utility.java
---
(0054462)
egoitz (developer)
2012-11-22 18:03

verified

- Issue History
Date Modified Username Field Change
2012-11-21 12:42 egoitz New Issue
2012-11-21 12:42 egoitz Assigned To => ioritzCia
2012-11-21 12:42 egoitz Modules => Core
2012-11-21 17:01 ioritzCia Relationship added related to 0022368
2012-11-21 17:15 hgbot Checkin
2012-11-21 17:15 hgbot Note Added: 0054432
2012-11-21 17:15 hgbot Status new => resolved
2012-11-21 17:15 hgbot Resolution open => fixed
2012-11-21 17:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30/rev/41823da572dd7bcaa9a89f6f94d4aa7b0f68b2c2 [^]
2012-11-22 10:18 ioritzCia Relationship added related to 0022372
2012-11-22 10:23 egoitz Relationship added related to 0022373
2012-11-22 13:27 ioritzCia Tag Attached: Performance
2012-11-22 18:03 egoitz Review Assigned To => egoitz
2012-11-22 18:03 egoitz Note Added: 0054462
2012-11-22 18:03 egoitz Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker