Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027578Openbravo ERPA. Platformpublic2014-09-10 19:292014-11-27 10:45
eduardo_Argal 
AugustoMauch 
urgentmajoralways
closedduplicate 
5
 
3.0PR15Q1 
No
Core
No
0027578: HQL datasources problem when using list parameters
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.
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.
Use query.setParameter(key, parameter); for String values
and use query.setParameterList(parameter); for List values.

Review implementation for Dates, Booleans...
No tags attached.
duplicate of defect 00275913.0PR14Q4 closed AugustoMauch It is not possible to use Collection parameters in HQL tables 
Issue History
2014-09-10 19:29eduardo_ArgalNew Issue
2014-09-10 19:29eduardo_ArgalAssigned To => AugustoMauch
2014-09-10 19:29eduardo_ArgalOBNetwork customer => No
2014-09-10 19:29eduardo_ArgalModules => Core
2014-09-10 19:29eduardo_ArgalTriggers an Emergency Pack => No
2014-09-29 08:31alostaleTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-11-27 10:45AugustoMauchRelationship addedduplicate of 0027591
2014-11-27 10:45AugustoMauchStatusnew => closed
2014-11-27 10:45AugustoMauchResolutionopen => duplicate

There are no notes attached to this issue.