Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027578 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2014-09-10 19:29 | 2014-11-27 10:45 | |||
Reporter | eduardo_Argal | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 3.0PR15Q1 | |||
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 | 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... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |