Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Support for query parameter in JPQL constructor expression?

Hi Bernard,

  Please enter an enhancement request and vote for it.

-Tom

On 10/11/2012 2:32 PM, Bernard wrote:
Hi,

It looks like EL does not support the use of a parameter value in a
constructor expression like:

select new SimpleDto(:parameter1, p.id) from Product)

The specification does not seem to support this either:

constructor_item ::=
single_valued_path_expression |
scalar_expression |
aggregate_expression |
identification_variable	

I guess that input_parameter would have to be included for this to be
valid.

Are there any plans to support this?

Thanks,

Bernard


_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users



Back to the top