Skip to main content

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

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




Back to the top