Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0027578 | Openbravo ERP | A. Platform | public | 2014-09-10 19:29 | 2014-11-27 10:45 | |||||||
Reporter | eduardo_Argal | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR15Q1 | 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 | 0027578: HQL datasources problem when using list parameters | |||||||||||
Description | HQL datasources uses a variable called queryNamedParameters to send values to the query. When this values are lists (because of using an 'in' clause) the value is passed wrongly to the query and it gives an error. | |||||||||||
Steps To Reproduce | HQL datasources uses a variable called queryNamedParameters to send values to the query. When this values are lists (because of using an 'in' clause) the value is passed wrongly to the query and it gives an error. | |||||||||||
Proposed Solution | Use query.setParameter(key, parameter); for String values and use query.setParameterList(parameter); for List values. Review implementation for Dates, Booleans... | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2014-09-10 19:29 | eduardo_Argal | New Issue | ||||||||||
2014-09-10 19:29 | eduardo_Argal | Assigned To | => AugustoMauch | |||||||||
2014-09-10 19:29 | eduardo_Argal | OBNetwork customer | => No | |||||||||
2014-09-10 19:29 | eduardo_Argal | Modules | => Core | |||||||||
2014-09-10 19:29 | eduardo_Argal | Triggers an Emergency Pack | => No | |||||||||
2014-09-29 08:31 | alostale | Target Version | 3.0PR14Q4 => 3.0PR15Q1 | |||||||||
2014-11-27 10:45 | AugustoMauch | Relationship added | duplicate of 0027591 | |||||||||
2014-11-27 10:45 | AugustoMauch | Status | new => closed | |||||||||
2014-11-27 10:45 | AugustoMauch | Resolution | open => duplicate |
There are no notes attached to this issue. |