Re: Converting non-string and non-numeric expression parameters to EJBQL

2008-08-14 Thread Lachlan Deck
Hi Andrus, On 11/06/2008, at 5:37 PM, Andrus Adamchik wrote: On Jun 11, 2008, at 3:26 AM, Lachlan Deck wrote: Would that then be like this: EJBQLQuery query; // assume exists for (Map.Entry param : parametersCallback) { query.setParameter(param.getKey(), param.getValue()); } Or would

Re: Converting non-string and non-numeric expression parameters to EJBQL

2008-06-11 Thread Andrus Adamchik
On Jun 11, 2008, at 3:26 AM, Lachlan Deck wrote: Would that then be like this: EJBQLQuery query; // assume exists for (Map.Entry param : parametersCallback) { query.setParameter(param.getKey(), param.getValue()); } Or would there still need to be special treatment given to dates and

Re: Converting non-string and non-numeric expression parameters to EJBQL

2008-06-10 Thread Lachlan Deck
(CAY-1073 - fixed) Excellent. Thanks. * Converting non-string and non-numeric expression parameters to EJBQL (no Jira yet, I will pen one soon...). In regards to the last one, per my second comment on CAY-1072, I totally agree with you that we need to handle this case. However we can&#

Converting non-string and non-numeric expression parameters to EJBQL

2008-06-10 Thread Andrus Adamchik
Hi Lachlan, sorry for confusion on my part... As it turned out, there are actually 3 separate issues * Serialization when running EJBQL with ROP (CAY-1072 - fixed) * Converting lists of values to EJBQL Strings (CAY-1073 - fixed) * Converting non-string and non-numeric expression parameters to