Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056059Openbravo ERPA. Platformpublic2024-07-18 13:082024-07-18 13:30
shuehner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0056059: Oracle Cleanup: Remove oracle specific rownum in queries
Several select queries have split code-path for postgres related to pagination

On Postgres we use LIMIT and OFFSET syntax
On Oracle we used ROWNUM as extra column and filtering on that.

With oracle support gone we can just remove the Oracle specific code making it more readable.
Look at for example
https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java?ref_type=heads#L427 [^]
https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple_data.xsql?ref_type=heads#L64 [^]

for the rownum, oraLimit1, oraLimit2 parameters to support this
Remove the extra code specific to supporting oracle
No tags attached.
blocks feature request 0053658 new shuehner Tracking issue: Code cleanup after removing Oracle support 
Issue History
2024-07-18 13:08shuehnerNew Issue
2024-07-18 13:08shuehnerAssigned To => Triage Platform Base
2024-07-18 13:08shuehnerModules => Core
2024-07-18 13:08shuehnerTriggers an Emergency Pack => No
2024-07-18 13:08shuehnerRelationship addedblocks 0053658
2024-07-18 13:30hgbotNote Added: 0167131

Notes
(0167131)
hgbot   
2024-07-18 13:30   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1308 [^]