Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0018436 | Openbravo ERP | A. Platform | public | 2011-09-06 08:56 | 2011-09-21 18:30 |
|
Reporter | alostale | |
Assigned To | marvintm | |
Priority | urgent | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP24 | |
Target Version | 2.50MP34 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0018436: 2.50 grid, cursors in Oracle are not reused |
Description | In 2.50 grid using Oracle as DB, the generated SQL includes in the query string the pagination paramenters instead of being prepared statement paremeters. This causes many different cursors creation each time scroll is done in any grid making thus them not reusable. |
Steps To Reproduce | Having a big amount of records and in a complex tab first time data is requested the query is slow. If the cursor is properly reused next time, the query should be faster. |
Proposed Solution | Partially rollback issue 0009641 for the Oracle query generation. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0018585 | | closed | alostale | Grid shows a Javascript error alert when you scroll down to the last record | blocks | defect | 0018435 | | closed | alostale | 2.50 grid, cursors in Oracle are not reused |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-09-06 08:57 | alostale | Type | defect => backport |
2011-09-06 08:57 | alostale | fix_in_branch | => 2.50 |
2011-09-06 09:43 | hgbot | Checkin | |
2011-09-06 09:43 | hgbot | Note Added: 0040756 | |
2011-09-06 09:43 | hgbot | Status | scheduled => resolved |
2011-09-06 09:43 | hgbot | Resolution | open => fixed |
2011-09-06 09:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/4b2156ebe0dade865b1286fe0e6f624d700ed8ce [^] |
2011-09-21 12:05 | marvintm | Assigned To | alostale => marvintm |
2011-09-21 12:05 | marvintm | Note Added: 0041190 | |
2011-09-21 12:05 | marvintm | Status | resolved => new |
2011-09-21 12:05 | marvintm | Resolution | fixed => open |
2011-09-21 18:22 | marvintm | Status | new => scheduled |
2011-09-21 18:22 | marvintm | fix_in_branch | 2.50 => pi |
2011-09-21 18:30 | marvintm | Relationship added | related to 0018585 |
2011-09-21 18:30 | marvintm | Note Added: 0041203 | |
2011-09-21 18:30 | marvintm | Status | scheduled => resolved |
2011-09-21 18:30 | marvintm | Resolution | open => fixed |
2011-09-21 18:30 | marvintm | Status | resolved => closed |
Notes |
|
(0040756)
|
hgbot
|
2011-09-06 09:43
|
|
Repository: erp/stable/2.50
Changeset: 4b2156ebe0dade865b1286fe0e6f624d700ed8ce
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Sep 06 09:42:13 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/4b2156ebe0dade865b1286fe0e6f624d700ed8ce [^]
fixed bug 18436: 2.50 grid, cursors in Oracle are not reused
Using prepared statement parameter for grid limits in Oracle
---
M src/org/openbravo/erpCommon/utility/TableSQLData.java
---
|
|
|
|
Now when you scroll down in the grid to the lowest row, a Java exception happens and a JS alert is shown:
Missing IN or OUT parameter at index:: 9 |
|
|
|
This issue was correctly fixed. The problem found is a completely different thing, explained in issue 18585. The fix done for this issue works, and resolves the performance problem described. |
|