|
Good to know, I was unaware of that. Well in that case the user needs something like the following
select e from MyEntity where :now >= cast(e.startDate.dateTime as date)
The path e.startDate.dateTime would then resolve to a non-usertype which works for cast.
|