Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0036944 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [Openbravo ERP] A. Platform | minor | always | 2017-09-25 17:06 | 2022-02-01 08:08 | |||||||
| Reporter | guilleaer | View Status | public | |||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| 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 | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|
  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 | 
| Copyright © 2000 - 2009 MantisBT Group |