Openbravo Issue Tracking System - Openbravo ERP  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0036944 | Openbravo ERP | A. Platform | public | 2017-09-25 17:06 | 2022-02-01 08:08 | 
| Reporter | guilleaer | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0036944: Would be nice if OBQuery allows to set a timeout for a certain query | ||||
| Description | Currently it is posible to set a timeout for HQLQuery object but it is not possible to do it for OBQuery object | ||||
| Steps To Reproduce | currently this code works final Query query = querybuilder.getDalQuery(); setParameterValues(query, parameterValues); if (timeout != null) { query.setTimeout(timeout); } I would like to do the same with OBQuery OBQuery<Order> obQueryPO = OBDal.getInstance().createQuery(Order.class, hqlPOQuery.toString()); obQueryPO.setNamedParameter("warehouseId", warehouseId); .... .... obQueryPO.setMaxResult(limit); >>>>>// obQueryPO.setQueryTimeout(timeout);  | ||||
| Proposed Solution | Patch attached | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=11092&type=bug  | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2017-09-25 17:06 | guilleaer | New Issue | |||
| 2017-09-25 17:06 | guilleaer | Assigned To | => platform | ||
| 2017-09-25 17:06 | guilleaer | File Added: obQueryTimeout.diff | |||
| 2017-09-25 17:06 | guilleaer | OBNetwork customer | => No | ||
| 2017-09-25 17:06 | guilleaer | Modules | => Core | ||
| 2017-09-25 17:06 | guilleaer | Triggers an Emergency Pack | => No | ||
| 2017-09-25 17:10 | guilleaer | Issue Monitored: guilleaer | |||
| 2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base | ||
| There are no notes attached to this issue. |